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.
@param out_ Pointer to store the rebase object
@param repo The repository to perform the rebase
@param branch The terminal commit to rebase, or null to rebase the
current branch
@param upstream The commit to begin rebasing from, or null to rebase all
reachable commits
@param onto The branch to rebase onto, or null to rebase onto the given
upstream
@param opts Options to specify how rebase is performed, or null
@return 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.
@param out_ Pointer to store the rebase object @param repo The repository to perform the rebase @param branch The terminal commit to rebase, or null to rebase the current branch @param upstream The commit to begin rebasing from, or null to rebase all reachable commits @param onto The branch to rebase onto, or null to rebase onto the given upstream @param opts Options to specify how rebase is performed, or null @return Zero on success; -1 on failure.