The .gitmodule file has a list of url and path submodules similar to this
[submodule ".vim/bundle/subRepo"] path = .vim/bundle/subRepo url = https:
and in .git / config of the main repo there is a list of remotes
[remote "origin"] fetch = +refs/heads/*:refs/remotes/origin/* url = git@otherRepo.com
when
git submodule init git submodule update
I get submodules.
how to add once a list of remotes in a submodule? don't write every time
git remote add remoteAlias git:
in each submodule
source share