Adrian I. Adrian I. - 1 year ago 188
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?

Answer Source

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.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download