I’m pretty new to git and zf2. I just made a new new git repository on my server and pushed a zf2 app into it. however the vendor folder is not pushed nor the modules in it. How do i get git to push the vendor and modules folder?
I believe problem is because vendor modules are coming from git and have .git folders and .gitignore files within them. Tried removing .gitignore files from them, but this doesn’t work out.
Yes I think you got it right on “I believe problem is because vendor modules are coming from git and have .git folders and
.gitignorefiles within them.” Could it be you missed some files when deleting?There are submodules for:
if you are going to push all of the vendor then you can remove
.gitignoreand.gitmodules(if exists) from all of the above directory and edit.gitignoreand delete.gitmodulesfrom projectroot/ and then add whole of the vendor to the parent git again. It should work.