git rebase

Description

Reapply commits on top of another base tip.

Command
git rebase
Examples
Rebase on main
git rebase main
Interactive rebase
git rebase -i HEAD~3
Continue rebase
git rebase --continue
Parameters
Parameter Type Required Description
--interactive string No Interactive rebase
--continue string No Continue rebase after resolving conflicts
--abort string No Abort rebase process
--onto <newbase> string No Start replay from new base
Command Info
Category: Merging
Type: Git
Views: 7
Status: Active
Tags
rebase replay linear