From: Johannes Schindelin Date: Thu, 17 Jul 2008 12:13:11 GMT Subject: Re: [PATCH] Teach git submodule update to use distributed repositories Message-ID: In-Reply-To: <320075ff0807170508j3d3c1ef8j49df576fc47debe2@mail.gmail.com> Hi, On Thu, 17 Jul 2008, Nigel Magnay wrote: > When doing a git submodule update, it fetches any missing submodule > commits from the repository specified in .gitmodules. Huh? It takes what is in .git/config! Not what is in .gitmodules. So if you have another remote (or URL, e.g. if you have ssh:// access, but the .gitmodules file lists git://), just edit .git/config. I meant, that is the whole _point_ of having a two-step init/update procedure. Ciao, Dscho