(a.k.a. Rewriting History in Git)
HEAD
HEAD
HEAD
HEAD
HEAD
HEAD
HEAD
HEAD~4
HEAD
HEAD
HEAD
HEAD
git rebase
[-i | --interactive]
🤩
🇨🇭🔪
Manipulate commits by:
Don't push -f alt timelines to Public branches
git pull --rebase origin master
(instead of merge commit master)