Command
git rebase
Replay applicable commits onto a new base; normally replaces commit identities. Prefer private branches.
Formal Syntax & Structure
git syntaxgit
git rebase [options] UPSTREAMReplay applicable commits onto a new base; normally replaces commit identities. Prefer private branches.
git rebase [options] UPSTREAM