Interface MergeGitOptions

MergeGitOptions defines the supported options for the Git merge command.

Hierarchy

  • MergeGitOptions

Properties

--abort?: null

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

--allow-unrelated-histories?: null

Permits merge histories that do not share a common ancestor.

--autostash?: null

Automatically creates a temporary stash entry before the operation begins. See also [--no-autostash.

--cleanup?: string

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

--commit?: null

Performs the merge and commits the result.

--continue?: null

Concludes the merge once conflicts are resolved.

--ff?: null

Resolves the merge as a fast-forward when possible; otherwise, creates a merge commit. See also --ff-only and --no-ff.

--ff-only?: null

Resolves the merge as a fast-forward when possible; otherwise, refuses to merge and exits with a non-zero status. See also --ff and --no-ff.

--gpg-sign?: null | string

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

--into-name?: string

Prepares the default merge message as if merging to the branch.

--log?: null | string | number

Includes log message with one-line descriptions from at most actual commits that are being merged. See also --no-log.

--no-autostash?: null

The complement of --autostash.

--no-commit?: null

Performs the merge and stops just before creating a merge commit.

--no-ff?: null

Creates a merge commit in all cases. See also --ff and --ff-only.

--no-gpg-sign?: null

The complement of --gpg-sign.

--no-log?: null

The complement of --log.

--no-overwrite-ignore?: null

The complement of --overwrite-ignore.

--no-progress?: null

Suppresses progress reports to the standard error stream. See also --progress.

--no-rerere-autoupdate?: null

The complement of --rerere-autoupdate.

--no-signoff?: null

Does not add a Signed-off-by trailer by the committer at the end of the commit log message. See also --signoff.

--no-squash?: null

Performs the merge and commit the result. See also --squash.

--no-stat?: null

Does not show a diffstat at the end of the merge. See also --stat.

--no-verify?: null

Bypasses the pre-merge and commit-msg hooks. See also --no-verify.

--no-verify-signatures?: null

Does not verify the tip commit of the side branch being merged is signed with a valid key. See also --verify-signatures.

--overwrite-ignore?: null

Silently overwrites ignored files from the merge result. See also --no-overwrite-ignore.

--progress?: null

Forces progress reports to the standard error stream. See also --no-progress.

--quiet?: null

Operates quietly.

--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. See also --no-signoff.

--squash?: null

Produces the working tree and index state as if a real merge happened, but does not actually make a commit. See also --no-squash.

--stat?: null

Shows a diffstat at the end of the merge. See also --no-stat.

--strategy?: string | string[]

Uses the given merge strategy.

--strategy-option?: string

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

--verbose?: null

Be verbose.

--verify?: null

The complement of --no-verify.

--verify-signatures?: null

Verifies the tip commit of the side branch being merged is signed with a valid key. See also --no-verify-signatures.

-m?: string

Sets the commit message to be used for the merge commit.