Answer the question
In order to leave comments, you need to log in
Why is /vendor added to laravel git ignore?
Can you please explain why vendor is added to git ignore by default in all gitignore files for lara (at least on github)? I understand that vendore contains system files, but various dependencies are added during the development process, which also end up in /vendor. Isn't it easier to restore all the files at once when restoring an early commit, rather than writing a composer update so that it reloads everything necessary in /vendor?
Answer the question
In order to leave comments, you need to log in
Dependencies get into composer.json
. It is for this purpose that it was created so as not to store tons of code in your git or somewhere else.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question