I have the following git repositories
Vector
Random
String
String relies on Vector, and adds it as a submodule. Vector submodules Random. Random has no dependencies.
Module: Random
Module: Vector
Submodule: Random
Module: String
Submodule: Vector
Submodule: Random
When I change something inside of Random
submodule inside of Vector
, (NOT the actual module Random
), it does not automatically update Module: Random
or the other Submodule Random
's that exist elsewhere.
When I change something inside of Vector
(the module), it does not update the Vector
in String
. If I visit the repository for String
, and type git pull
, it claims everything is up to date. If I cd
inside of submodule Vector
and type git pull
, only THEN does it actually update my submodule Vector
. Ontop of that it wants me to commit changes to the String
repository, even though nothing has changed inside of String
.
What if I have a repository with 50 submodules? My submodules are going to be changing constantly and I don't want to have to not only pull every single time I want to touch my project but also commit that pull since it was the submodules that changed. There's got to be an easier way to do this.