# Modify any commit of your history in one command (shorthand)
# Put this in your .gitconfig
[alias]
fixup = !sh -c 'SHA=$(git rev-parse $1) \
&& git commit --fixup $SHA \
&& git rebase -i --autosquash $SHA~' -
# Usage: git fixup {sha1}