Git 2 · Branches
Rebase onto another branch
Replay your commits on top of main.
git rebase main
Caution: Rebasing rewrites commits. Don't rebase branches other people have pulled.
Git 2 · Branches
Replay your commits on top of main.
git rebase main
Caution: Rebasing rewrites commits. Don't rebase branches other people have pulled.
Was this page helpful?