Mr. B. Mr. B. - 1 month ago 5x
Git Question

Git: how to unignore all Symfony vendor files?

unfortunately I can't use composer, due to low memory on the webspace. That's why I'm trying to push

to the git repository, to be able to pull the full project, including the dependencies.

In my
I'm forcing git to unignore the vendor files by

It works for most files, but not for

Content of


My repository is hosted at BitBucket. I don't know yet the meaning of the different folder-icon and the hashs next to it. If anyone knows, please comment.

enter image description here

Does anyone know how to force git to handle all the vendor files?

Thanks in advance!


As the
is a
git submodule
, I chose this solution:

git submodule add git:// vendor/friendsofsymfony/jsrouting-bundle

Another way would be to use the deps file (not tested), source:


The jsrouting-bundle folder is a Git submodule. A Git submodule is actually a reference to another Git repository. This is why you cannot add changes from it to your original Git repository.