Re: On git 1.6 (novice's opinion)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Sun, 29 Mar 2009, Bryan Donlan wrote:

> On Fri, Mar 27, 2009 at 3:21 AM, Ulrich Windl
> <ulrich.windl@xxxxxxxxxxxxxxxxxxxx> 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

--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux