It appears that git rebase --autosquash
provides most of this functionality: If you have a commit that starts with fixup!
then git rebase --autosquash
will reorder that commit and make it a fixup, merging it in.
Furthermore, this seems to provide the rest of the functionality I was asking about!: https://github.com/torbiak/git-autofixup
With git autofixup
, it takes your working changes, finds which parts of it go with what, and makes potentially several fixup!
commits automatically. So...
- Make fixup changes.
- Run
git autofixup master
and it'll take the working changes and make one or morefixup!
commits automatically. - Finally do
git rebase --autosquash master
and thefixup!
commits will be reordered into place.