2 examples for git rebase
# Rebase the current branch on top of some_branch
git rebase some_branch
# Rebase the current branch on top of some_branch, in 'interactive' mode,
# choosing what to do for each rebased commit
git rebase -i some_branch
# prune and graft a branch. The resulting `topic` will be based
# onto `new_base` instead of onto `old_base`.
git rebase --onto new_base old_base topic