From: Martin von Zweigbergk Date: Tue, 18 Dec 2012 06:34:07 GMT Subject: Re: Proposal: create meaningful aliases for git reset's hard/soft/mixed Message-ID: In-Reply-To: <7vlir6brjw.fsf@alter.siamese.dyndns.org> On Wed, Nov 23, 2011 at 10:51 AM, Junio C Hamano wrote: > > I am guilty of introducing "git reset --soft HEAD^" before I invented > "commit --amend" during v1.3.0 timeframe to solve the issue "soft" reset > originally wanted to. I do use "commit --amend" a lot, but I still appreciate having "reset --soft". For example, to squash the last few commits: git reset --soft HEAD^^^ && git commit --amend or undo "commit --amend": git reset --soft HEAD@{1} && git commit --amend Maybe there's a better way of doing that?