Note: only rebase local branches, NEVER REBASE A REMOTE BRANCH.
- create backup to preserve original commit tree
git branch myBackup
- get list of commits and their SHA
git --no-pager log --oneline
- start interactive rebase on targetSHA
git rebase -i <targetSHA>^
- determine what to do with each commit & continue: keep, edit, etc. (git will show you the options)