by piinbinary · 11y ago · 0 comments
gfixup () {
REVISION=$(git rev-parse $1)
git commit --fixup=$REVISION && git rebase -i --autosquash $REVISION~
}
It doesn't handle stashing anything, but other than that it's basically the same.