libgit2

rebase

Version:
Git rebase routines

Objects

Representation of a rebase

Structs

Rebase options

A rebase operation

Macros

Enums

Type of rebase operation in-progress after calling git_rebase_next

Functions

Initializes a git_rebase_options with default values creating an instance with GIT_REBASE_OPTIONS_INIT.

Initializes a rebase operation to rebase the changes in branch relative to upstream onto another branch process, call git_rebase_next. When you have finished with this object, call git_rebase_free.

Opens an existing rebase that was previously started by either an invocation of git_rebase_init or by another client

Gets the count of rebase operations that are to be applied

Gets the index of the rebase operation that is currently being applied

Gets the rebase operation specified by the given index

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.

Commits the current patch were introduced during the patch application from the git_rebase_next invocation.

Aborts a rebase that is currently in progress, resetting the repository and working directory to their state before rebase began

Finishes a rebase that is currently in progress once all patches have been applied

Frees the git_rebase object