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.


        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.
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to
More majordomo info at

Reply via email to