Vendor folder in .gitignore or not?
Notice: This thread is very old.
- soundake
- Member | 24
Hi guys,
now I have all vendor folder in .gitignore file and everytime I'm switching branches, I must update all packages from composer. The reason is that I don't need to versioning external libraries – they are still somewhere in the cloud.
Do you thing is it good way? How do you manage your dependent libraries?
- voda
- Member | 561
Some people prefer to commit vendor folder to git some don't. Composer recommends to not commit them: The general recommendation is no.
- Šaman
- Member | 2659
Just warning – there is problem that NetBeans 8.1 natively ignore
vendor
directories.
8.02 was fine and i hope next version fix it.
I gitignore composer's vendor, but another vendor is in /www
from bower js/css packages and i dont ignore that.
Last edited by Šaman (2016-03-04 17:05)