4 ms·
Since interactive rebase was mentioned I'd recommend taking a look at its --autosquash flag and the --fixup flag of commit. With autosquash the interactive reba
by Pirate-of-SV 11y ago
Since interactive rebase was mentioned I'd recommend taking a look at its --autosquash flag and the --fixup flag of commit. With autosquash the interactive rebase will move fixup commits to where they belong:
git commit --fixup=<commitref>
git rebase -i --autosquash HEAD~5
- mrich 11y agoAlso enable --autostash (git config --global --add rebase.autostash true) for that workflow so that dirty files do not get in the way.