Interface CherryPickOptions

CherryPickOptions defines the supported options for the Git cherry-pick command.

Hierarchy

  • CherryPickOptions

Properties

--abort?: null

Aborts the current conflict resolution process, and attempts to reconstruct the pre-merge state.

--allow-empty?: null

Permits cherry-picking an empty commit.

--allow-empty-message?: null

Permits cherry-picking a commit with an empty message.

--cleanup?: string

Determines how the merge message will be cleaned up before committing.

--continue?: null

Concludes the merge once conflicts are resolved.

--ff?: null

Resolves the merge as a fast-forward when possible.

--gpg-sign?: null | string

GPG-sign commits. See also --no-gpg-sign.

--keep-redundant-commits?: null

Creates an empty commit object when a commit being cherry picked duplicates a commit already in the current history.

--mainline?: string | number

Specifies the parent number (starting from 1) of the mainline.

--no-commit?: null

Performs the cherry-pick and stops just before creating any commit.

--no-gpg-sign?: null

The complement of --gpg-sign.

--no-rerere-autoupdate?: null

The complement of --rerere-autoupdate.

--quit?: null

Abandons the the current merge in progress, leaving the index and the working tree as-is.

--rerere-autoupdate?: null

Allows the rerere mechanism to update the index with the result of auto-conflict resolution. See also --no-rerere-autoupdate.

--signoff?: null

Adds a Signed-off-by trailer by the committer at the end of the commit log message.

--skip?: null

Skips the current commit and continues with the rest of the sequence.

--strategy?: string

Uses the given merge strategy.

--strategy-option?: string

Passes merge strategy-specific option through to the merge strategy.

-x?: null

Appends a line that says "(cherry picked from commit...)" to the original commit message.