(created/git2cpp/rebase.md)=
# git2cpp rebase

```{parsed-literal}
Reapply commits on top of another base tip


git2cpp rebase [OPTIONS] [upstream] [branch]


POSITIONALS:
&nbsp; upstream TEXT               Upstream branch to rebase onto
&nbsp; branch TEXT                 Working branch; defaults to HEAD

OPTIONS:
&nbsp; -h,     --help              Print this help message and exit
&nbsp;         --onto TEXT         Starting point at which to create the new commits
&nbsp;         --abort             Abort the rebase operation and reset HEAD to the original branch
&nbsp;         --continue          Restart the rebasing process after having resolved a merge
&nbsp;                             conflict
&nbsp;         --skip              Restart the rebasing process by skipping the current patch
&nbsp;         --quit              Abort the rebase operation but HEAD is not reset back to the
&nbsp;                             original branch
```
