Command
Explanation
git rebase is used to reapply commits on top of another base tip. It reapplies the commits on top of another base tip.
Examples
Rebase current branch onto main
Interactive rebase last 3 commits
git rebase is used to reapply commits on top of another base tip. It reapplies the commits on top of another base tip.
Rebase current branch onto main
Interactive rebase last 3 commits