Re: On git 1.6 (novice's opinion)
- From
Johannes Schindelin <johannes.schindelin@gmx.de>
- Date
- Mar 29, 2009, 09:50 UTC
- Message-ID
- <alpine.DEB.1.00.0903291149460.10279@pacific.mpi-cbg.de>
- In-Reply-To
- <3e8340490903282241u355ce5b3u1a6ff23b27f4ec12@mail.gmail.com>
Hi,
On Sun, 29 Mar 2009, Bryan Donlan wrote:
Show 9 quoted lines
> On Fri, Mar 27, 2009 at 3:21 AM, Ulrich Windl > <ulrich.windl@rz.uni-regensburg.de> wrote: > > > 3) "git undo": If possible undo the effects of the last command. > > You can roll back the state of most local references by using the git > reflog (see git reflog --help for more information). This covers most > situations - but note that it only works to roll back to a committed > state, and won't save any uncommitted data at all.
Which is why you should commit early and often, and certainly before doing something bigger.
Ciao, Dscho