git-rebase

rebase Reapply commits from one branch on top of another…

git rebase

Reapply commits from one branch on top of another branch. Commonly used to "move" an entire branch to another base, creating copies of the commits in the new location.

git rebase {{master}}

git rebase -i {{target_base_branch}}

git rebase --continue

git rebase --abort

git rebase --onto {{new_base}} {{old_base}}

git rebase -i {{HEAD~5}}

Также может быть вам интересно:
КодТрюки BashНастройкиТерминал/Консоль
← git-reauthor git-reflog →