termtrick.com
Run
API
Facebook
Twitter
LinkedIn
Copy link
Move part of the current branch onto a new base, providing the old base to start from
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.
More information: <https://git-scm.com/docs/git-rebase>.
Trick copyright:
tl;dr; <
https://github.com/tldr-pages/tldr
>
git rebase --onto {{new_base}} {{old_base}}
click the source code to copy
install
git rebase
on any operating system with
command-not-found.com