Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed
- From
Thomas Rast <trast@student.ethz.ch>
- Date
- Dec 2, 2011, 07:26 UTC
- Message-ID
- <201112020826.14114.trast@student.ethz.ch>
- In-Reply-To
- <CABURp0rtCUbJXLHtXv_1g6GRKL3mX-T+3vN1=QO4CUibqXdEMg@mail.gmail.com>
Phil Hord wrote:
Show 10 quoted lines
> > Think outside the "reset" command. Like this: > > From the "most popular" comment on http://progit.org/2011/07/11/reset.html: > > I remember them as: > > --soft -> git uncommit > > --mixed -> git unadd > > --hard -> git undo > > I don't particular like these names, but conceptually they are helpful.
I think all of these, but the last one in particular, are *very* dangerous oversimplifications. Doubly so if you then use "undo" with a revision argument.
--
Thomas Rast
trast@{inf,student}.ethz.ch