From: Matthieu Moy Date: Fri, 12 Nov 2010 16:57:09 GMT Subject: Re: Newbie: Restore messed up code from local or remote repository Message-ID: In-Reply-To: <20101112124621.GF30870@efreet.light.src> Jan Hudec writes: >> git checkout > > I don't think it does anything without argument. With argument '.' this > restores working tree to the state in index (stage). So if you have that > screwed up too, it won't be enough. Actually, the output of "git status" will give you the right command here. -- Matthieu Moy http://www-verimag.imag.fr/~moy/