libgit2

git_rebase_operation_t

Version:

Type of rebase operation in-progress after calling git_rebase_next.

Values

GIT_REBASE_OPERATION_PICK
0

The given commit is to be cherry-picked. The client should commit the changes and continue if there are no conflicts.

GIT_REBASE_OPERATION_REWORD
1

The given commit is to be cherry-picked, but the client should prompt the user to provide an updated commit message.

GIT_REBASE_OPERATION_EDIT
2

The given commit is to be cherry-picked, but the client should stop to allow the user to edit the changes before committing them.

GIT_REBASE_OPERATION_SQUASH
3

The given commit is to be squashed into the previous commit. The commit message will be merged with the previous message.

GIT_REBASE_OPERATION_FIXUP
4

The given commit is to be squashed into the previous commit. The commit message from this commit will be discarded.

GIT_REBASE_OPERATION_EXEC
5

No commit will be cherry-picked. The client should run the given command and (if successful) continue.

Versions