gg rebase
gg rebase [--src REV | --base REV] [--dst REV] [options]
move revision (and descendants) to a different branch
Rebasing will replay a set of changes on top of the destination revision and set the current branch to the final revision.
If neither --src
or --base
is specified, it acts as if
--base=@{upstream}
was specified.
Options
- -base rev
- rebase everything from branching point of specified revision
- -dst rev
- rebase onto the specified revision
- -src rev
- rebase the specified revision and descendants
- -abort
- abort an interrupted rebase
- -continue
- continue an interrupted rebase