From: Stephen Hemminger Date: Tue, 19 Feb 2008 23:23:57 GMT Subject: Re: Submodules and rewind Message-ID: <20080219152357.5ab397cf@extreme> In-Reply-To: <20080219223201.GE4703MdfPADPa@greensroom.kotnet.org> On Tue, 19 Feb 2008 23:32:01 +0100 Sven Verdoolaege wrote: > On Tue, Feb 19, 2008 at 02:06:04PM -0800, Stephen Hemminger wrote: > > Because of a bone headed merge, I had to rewind one project back > > to a known good state, but the sub module stuff is now wedged and > > brain stuck on the old commit id. > > > > Isn't there some simple way to do 'git sub-module remove' followed > > by 'git sub-module add' to reset the internal index? > > Why doesn't "git submodule update" work for you? > It didn't fix it, but recloning did.