[alias]
fixup = commit --amend -C HEAD
Automatically rebase the current stages changes into your last commit. For quick fixes when you don't want to create new commits, you can just do that instead of git rebase -i HEAD~2 and mark the last commit as fixup.