Re: [PATCH] Teach git submodule update to use distributed repositories
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Jul 17, 2008, 12:13 UTC
- Message-ID
- <alpine.DEB.1.00.0807171311010.8986@racer>
- 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