| Next | git-rebase: why and how | 21 |
git rebase -i HEAD~6
Instead of picking automatically, rebase gives you a script

You can edit the script

reword: modify commit message during cherry-pick
edit: pause after cherry-pick and before commit
squash: don't commit previous changes before picking this commit
| Next | ![]() |