the .gitmodule file have the list of submodule url and path, similar to this
[submodule ".vim/bundle/subRepo"]
path = .vim/bundle/subRepo
url = https://git.com/sub/repo
and in the .git/config of core repo have list of remotes
[remote "origin"]
fetch = +refs/heads/*:refs/remotes/origin/*
url = [email protected]
when
git submodule init
git submodule update
I get the submodules.
how add one time the list of remotes in a submodule ? for not write everytime
git remote add remoteAlias git://...
in each submodule