I have created a php project. In this project under vendor/ I have included using composer some other 3rd party modules. I think they came with a .git folder.
Finally I decided to add my code under git. But now I have problems. Some of this 3rd party modules came with a .git folder some without ( idk the reason ). why this happen any clue ?
In my root folder I have nothing in .gitmodules.
When I do git status
I get:
# modified: vendor/somemodule (modified content)
What should I do in this case, what's the best way to handle this. I want to be able to still be updated about the changes in those libraries and also keep a track of those modules in my repository ( beanstalk ) which when merged to master branch will upload to live server.
Any ideas, any links to read would be helpful. I don't even know if this are submodules or not yet.
an image with my vendor:
Thanks.