I have a php project that uses composer for package management. One of the packages is another project belonging to the same repo. I have a need to commit my entire vendor folde
For me this looks like a design error:
If you load a second project from the same repository as dependency, this project should be moved to a different repository.
And inside the vendor Directory place another .gitignore file with
# Ignore Git here .git # But not these files... !.gitignore