From: Sven Verdoolaege Date: Tue, 19 Feb 2008 22:32:01 GMT Subject: Re: Submodules and rewind Message-ID: <20080219223201.GE4703MdfPADPa@greensroom.kotnet.org> In-Reply-To: <20080219140604.04afc91f@extreme> 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? skimo