From: Miles Bader Date: Fri, 02 Dec 2011 07:45:34 GMT Subject: Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed Message-ID: In-Reply-To: <201112020826.14114.trast@student.ethz.ch> Thomas Rast writes: >> > 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. I agree. Not only is it completely wrong when used with a revision argument, but "undo" is so vague that it's probably useless for _any_ git command, much less one so dangerous as "reset --hard". -miles -- Friendship, n. A ship big enough to carry two in fair weather, but only one in foul.