libgit2

git_rebase_next

Version:

Performs the next rebase operation and returns the information about it. If the operation is one that applies a patch (which is any operation except GIT_REBASE_OPERATION_EXEC) then the patch will be applied and the index and working directory will be updated with the changes. If there are conflicts, you will need to address those before committing the changes.

Signature

int git_rebase_next(git_rebase_operation **operation, git_rebase *rebase, git_checkout_options *checkout_opts);

Parameters

In
rebase
In
checkout_opts

Options to specify how the patch should be checked out

Returns

int

Zero on success; -1 on failure.

Versions