Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

thusfar's avatar

Spark folder not tracked by Git?

So I track my vendor folder with Git, but my vendor/laravel/spark folder is not tracked by git. Its not in .gitgnore files, at least I havent found it to be. However it listed in composer.json under repositories.

Does anyone has any idea why that may be the case?? Could it be git related or something else??

I've tried git add -f but it didnt work.

0 likes
3 replies
Tray2's avatar

There is probably a .gitignore in the spark directory

ejdelmonico's avatar

The vendor/laravel/spark directory is a link to spark directory. Check inside that directory for the .gitignore. It should be there unless you already removed it.

Please or to participate in this conversation.