I have a question regrading intertwined repositories.
I have a repo, lets call it common_repo.
common_repo holds code which is relevant to most of my other repos, and I wish to pull it whenever I pull other repositories.
We've considered submodules, but as far as I understand this will create numerous copies of the common repo on my machine. This is undesireable as I may have differnet versions on my computer of the same files according to when I last pulled the dependent repo, which could lead to confusion.
Another alternative would be using some custom scripts such as sggested here. However this is not cross paltform (we have multiple developers working on different OS's), requires deployment on each machine, and doesn't play well git GUI clients such as smartgit or source tree.
Is there a better solution which we haven't considered?