Re: Newbie: Restore messed up code from local or remote repository
- From
Matthieu Moy <matthieu.moy@grenoble-inp.fr>
- Date
- Nov 12, 2010, 16:57 UTC
- Message-ID
- <vpqzkte1nve.fsf@bauges.imag.fr>
- In-Reply-To
- <20101112124621.GF30870@efreet.light.src>
Jan Hudec <bulb@ucw.cz> writes:
Show 5 quoted lines
>> 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/