Interactive rebase
Commands
git rebase -i master new_feature-iwill trigger the interactive mode.
Can be used just to edit the commit history
git rebase -i HEAD~3
Interative rebase will open git-rebase-todo for you to edit what to do.
Options:
pick- usedropreword- change the commit messageedit- to amend changes along with the commitsquashfixupexec
Last updated