From: Junio C Hamano Date: Mon, 09 Dec 2013 20:20:30 GMT Subject: Re: A couple of rebase --autosquash proposals Message-ID: In-Reply-To: <52A56887.4070909@viscovery.net> Johannes Sixt writes: > Am 12/9/2013 3:23, schrieb Brett Randall: >> * fixup! or squash! on it's own would default to fixing-up the >> previous commit (or result of previous step of rebase if that was a >> squash/fixup). > > Why would you want that? To fixup the previous commit, just use 'git > commit --amend'. What am I missing? When you are not absolutely sure if the amend is a good thing to do. Then work work work git commit --fixup HEAD work work work git commit --fixup HEAD^ work work work git commit --fixup HEAD^^ ... git rebase --autosquash -i ... may become a good way to polish a single commit.