Re: On git 1.6 (novice's opinion)
- From
- Ulrich Windl <ulrich.windl@rz.uni-regensburg.de>
- Date
- Apr 1, 2009, 07:42 UTC
- Message-ID
- <49D3371C.20188.610353@Ulrich.Windl.rkdvmks1.ngate.uni-regensburg.de>
- In-Reply-To
- <alpine.DEB.1.00.0903291149460.10279@pacific.mpi-cbg.de>
On 29 Mar 2009 at 11:50, Johannes Schindelin wrote:
Show 16 quoted lines
> Hi, > > On Sun, 29 Mar 2009, Bryan Donlan wrote: > > > 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.
A user will only "commit" if he knows how to "undo" it. Proposing to use "commit" to help with "undo" is a partial solution at best...
> > Ciao, > Dscho >