Interface RevertOptions

RevertOptions defines the supported options for the Git revert command.

Hierarchy

  • RevertOptions

Properties

--abort?: null

Aborts the current conflict resolution process.

--cleanup?: string

Determines how the commit message will be cleaned up.

--continue?: null

Concludes the revert once conflicts are resolved.

--gpg-sign?: null | string

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

--mainline?: string | number

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

--no-commit?: null

Reverts the named commits 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 revert in progress.

--reference?: null

Prepares a more human-readable message template for the user.

--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.