Adrian I. Adrian I. - 8 months ago 74
Git Question

Gitignore a folder from vendor folder in Symfony

I want to not ignore a folder in vendor in my Symfony app. I put in .gitignore:


But this don't work? What is wrong?


If you want to do something in your bundle ( I assume it is somewhere on git repo and You have it as dependency in composer ) try to run composer install --prefer-source. Then You can make changes in your bundle and push them to it's repo from within your project.