4 ms·
TIL: Splitting A Commit git rebase -i <ref> Mark commit as 'edit' Continue with rebase, it will stop on 'edit' marked commit git reset HEAD git add --patch git
by vanous 5y ago
TIL: Splitting A Commit
git rebase -i <ref>
Mark commit as 'edit'
Continue with rebase, it will stop on 'edit' marked commit
git reset HEAD
git add --patch
git commit
git rebase --continue