git_rebase_operation_t

Type of rebase operation in-progress after calling git_rebase_next.

Values

ValueMeaning
GIT_REBASE_OPERATION_PICK0

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

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

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

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

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

GIT_REBASE_OPERATION_EXEC

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

Meta