From: Junio C Hamano Date: Thu, 04 Apr 2013 21:07:35 GMT Subject: Re: Possible bug: Git submodules can get into broken state Message-ID: <7vr4iqgg2w.fsf@alter.siamese.dyndns.org> In-Reply-To: Chris Wilson writes: > I do not want to write an > awk/sed script to remove all the submodules from .git/config ... Don't do it then ;-) I think "git config" was added exactly because people wanted to customize their configuration from their scripts. > I do, it seems bizarre that git submodule init can create this > situation but cannot rectify it. I do not see there is anything to rectify in your situation. Whoever wrote .gitmodules may have supplied a URL you cannot access, and the configuration mechanism is the way to use custom URL in place of it.