Pointer to store the rebase object
The repository to perform the rebase
The terminal commit to rebase, or null to rebase the current branch
The commit to begin rebasing from, or null to rebase all reachable commits
The branch to rebase onto, or null to rebase onto the given upstream
Options to specify how rebase is performed, or null
Zero on success; -1 on failure.
Initializes a rebase operation to rebase the changes in branch relative to upstream onto another branch. To begin the rebase process, call git_rebase_next. When you have finished with this object, call git_rebase_free.