I am moving my php composer dependencies into a prebuilt repo, but for some reason some files are not being tracked when I push to the repo. To counteract this I am telling my repo to ignore any repos (dependencies) that are put into the parent folder via composer update.
How can I tell my main repo to ignore any repos that happen to be pulled in as folders.
I am currently using this in my .gitignore
#ignore all folders called .git
.git/
# Unignore the parent .git folder
!/.git/
I do not want any submodules. Only one repo with all the code versioned.