Interface PullOptions

PullOptions defines the supported options for the Git pull command.

Hierarchy

Properties

--all?: null

Fetches all remotes.

--allow-unrelated-histories?: null

Permits merge histories that do not share a common ancestor.

--append?: null

Appends ref names and object names of fetched refs to the existing contents of .git/FETCH_HEAD.

--atomic?: null

Uses an atomic transaction to update local refs.

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

--deepen?: string | number

Specifies the number of commits from the current shallow boundary.

--depth?: string | number

Limits fetching to the specified number of commits from the tip of each remote branch history.

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

Updates to the new history only if there is no divergent local history. See also --ff and --no-ff.

--force?: null

Overrides check to update the local branch.

--gpg-sign?: null | string

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

--ipv4?: null

Uses IPv4 addresses only, ignoring IPv6 addresses.

--ipv6?: null

Uses IPv6 addresses only, ignoring IPv4 addresses.

--jobs?: string | number

Specifies the number of parallel children to be used for all forms of fetching.

--keep?: null

Keeps downloaded pack.

--log?: null | string | number

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

--negotiate-only?: null

Prints the ancestors of the provided --negotiation-tip values.

--negotiation-tip?: string | string[]

Reports commits reachable from the given tips.

--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-rebase?: null | string

The complement of --rebase.

--no-recurse-submodules?: null

Disables recursive fetching of submodules.

--no-show-forced-updates?: null

Does not check if a branch is force-updated during fetch. See also --show-forced-updates.

--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-tags?: null

Disables automatic tag following.

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

--prefetch?: null

Modifies the configured refspec to place all refs into the refs/prefetch/ namespace.

--progress?: null

Forces progress reports to the standard error stream.

--prune?: null

Removes any remote-tracking references that no longer exist on the remote.

--quiet?: null

Squelches output during merging.

--rebase?: null | string

Controls rebasing. See also --no-rebase.

--recurse-submodules?: null | string

Controls if and under what conditions new commits of populated submodules should be fetched.

--refetch?: null

Fetches all objects as a fresh clone would.

--refmap?: string | string[]

Uses the specified refspec to map the refs to remote-tracking branches.

--server-option?: string | string[]

Transmits the given strings to the server when communicating using protocol version 2.

--set-upstream?: null

Adds upstream (tracking) reference.

--shallow-exclude?: string | string[]

Deepens or shortens the history of a shallow repository to exclude commits reachable from a specified remote branch or tag.

--shallow-since?: string | Date

Deepens or shortens the history of a shallow repository to include all reachable commits after date.

--show-forced-updates?: null

Checks if a branch is force-updated during fetch. See also --no-show-forced-updates.

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

--tags?: null

Fetches all tags from the remote.

--unshallow?: null

Converts a shallow repository to a complete one.

--update-head-ok?: null

Updates .git/shallow.

--update-shallow?: null

Updates .git/shallow.

--verbose?: null

Passes --verbose to git-fetch and git-merge.

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