Module pull

Module pull 

Source

Constants§

ALL
ALLOW_UNRELATED_HISTORIES
APPEND
AUTOSTASH
COMMIT
DEEPEN
DEPTH
EDIT
FF
FF_ONLY
FORCE
GIT_COMMAND
IPV4
IPV6
KEEP
LOG
NO_AUTOSTASH
NO_COMMIT
NO_EDIT
NO_FF
NO_LOG
NO_REBASE
NO_RECURSE_SUBMODULES
NO_SQUASH
NO_STAT
NO_TAGS
NO_VERIFY_SIGNATURES
PROGRESS
QUIET
REBASE
RECURSE_SUBMODULES
SHALLOW_EXCLUDE
SHALLOW_SINCE
SQUASH
STAT
STRATEGY
STRATEGY_OPTION
UNSHALLOW
UPDATE_HEAD_OK
UPDATE_SHALLOW
UPLOAD_PACK
VERBOSE
VERIFY_SIGNATURES

Functions§

all
Fetch all remotes. –all
allow_unrelated_histories
By default, git merge command refuses to merge histories that do not share a common ancestor. This option can be used to override this safety when merging histories of two projects that started their lives independently. As that is a very rare occasion, no configuration variable to enable this by default exists and will not be added. –allow-unrelated-histories
append
Append ref names and object names of fetched refs to the existing contents of .git/FETCH_HEAD. Without this option old data in .git/FETCH_HEAD will be overwritten. -a, –append
autostash
Before starting rebase, stash local modifications away if needed, and apply the stash when done. –autostash
commit
Perform the merge and commit the result. This option can be used to override –no-commit. –commit
deepen
Similar to –depth, except it specifies the number of commits from the current shallow boundary instead of from the tip of each remote branch history. –deepen=
depth
Limit fetching to the specified number of commits from the tip of each remote branch history. If fetching to a shallow repository created by git clone with –depth= option (see git-clone(1)), deepen or shorten the history to the specified number of commits. Tags for the deepened commits are not fetched. –depth=
edit
Invoke an editor before committing successful mechanical merge to further edit the auto-generated merge message, so that the user can explain and justify the merge. –edit, -e
ff
When the merge resolves as a fast-forward, only update the branch pointer, without creating a merge commit. This is the default behavior. –ff
ff_only
Refuse to merge and exit with a non-zero status unless the current HEAD is already up-to-date or the merge can be resolved as a fast-forward. –ff-only
force
When git fetch is used with : refspec, it refuses to update the local branch unless the remote branch it fetches is a descendant of . This option overrides that check. -f, –force
ipv4
Use IPv4 addresses only, ignoring IPv6 addresses. -4, –ipv4
ipv6
Use IPv6 addresses only, ignoring IPv4 addresses. -6, –ipv6
keep
Keep downloaded pack. -k, –keep
log
In addition to branch names, populate the log message with one-line descriptions from at most actual commits that are being merged. See also git-fmt-merge-msg(1). –log[=]
no_autostash
–no-autostash is useful to override the rebase.autoStash configuration variable. –no-autostash
no_commit
With –no-commit perform the merge but pretend the merge failed and do not autocommit, to give the user a chance to inspect and further tweak the merge result before committing. –no-commit
no_edit
The –no-edit option can be used to accept the auto-generated message (this is generally discouraged). –no-edit
no_ff
Create a merge commit even when the merge resolves as a fast-forward. This is the default behaviour when merging an annotated (and possibly signed) tag. –no-ff
no_log
With –no-log do not list one-line descriptions from the actual commits being merged. –no-log
no_rebase
Override earlier –rebase. –no-rebase
no_recurse_submodules
This option controls if new commits of all populated submodules should be fetched too. –no-recurse-submodules[=yes|on-demand|no]
no_squash
With –no-squash perform the merge and commit the result. This option can be used to override –squash. –no-squash
no_stat
With -n or –no-stat do not show a diffstat at the end of the merge. -n, –no-stat
no_tags
By default, tags that point at objects that are downloaded from the remote repository are fetched and stored locally. This option disables this automatic tag following. The default behavior for a remote may be specified with the remote..tagOpt setting. –no-tags
no_verify_signatures
Verify that the tip commit of the side branch being merged is signed with a valid key, i.e. a key that has a valid uid: in the default trust model, this means the signing key has been signed by a trusted key. –no-verify-signatures
progress
Progress status is reported on the standard error stream by default when it is attached to a terminal, unless -q is specified. This flag forces progress status even if the standard error stream is not directed to a terminal. –progress
pull
Incorporates changes from a remote repository into the current branch. If the current branch is behind the remote, then by default it will fast-forward the current branch to match the remote. If the current branch and the remote have diverged, the user needs to specify how to reconcile the divergent branches with –rebase or –no-rebase Git doc
quiet
This is passed to both underlying git-fetch to squelch reporting of during transfer, and underlying git-merge to squelch output during merging. -q, –quiet
rebase
When true, rebase the current branch on top of the upstream branch after fetching. If there is a remote-tracking branch corresponding to the upstream branch and the upstream branch was rebased since last fetched, the rebase uses that information to avoid rebasing non-local changes. -r, –rebase[=false|true|preserve|interactive]
recurse_submodules
This option controls if new commits of all populated submodules should be fetched too. –recurse-submodules[=yes|on-demand|no]
shallow_exclude
Deepen or shorten the history of a shallow repository to exclude commits reachable from a specified remote branch or tag. This option can be specified multiple times. –shallow-exclude=
shallow_since
Deepen or shorten the history of a shallow repository to include all reachable commits after . –shallow-since=
squash
Produce the working tree and index state as if a real merge happened, but do not actually make a commit, move the HEAD, or record $GIT_DIR/MERGE_HEAD (to cause the next git commit command to create a merge commit). This allows you to create a single commit on top of the current branch whose effect is the same as merging another branch (or more in case of an octopus). –squash
stat
Show a diffstat at the end of the merge. The diffstat is also controlled by the configuration option merge.stat. –stat
strategy
Use the given merge strategy; can be supplied more than once to specify them in the order they should be tried. If there is no -s option, a built-in list of strategies is used instead (git merge-recursive when merging a single head, git merge-octopus otherwise). -s , –strategy=
strategy_option
Pass merge strategy specific option through to the merge strategy. -X
unshallow
If the source repository is complete, convert a shallow repository to a complete one, removing all the limitations imposed by shallow repositories. If the source repository is shallow, fetch as much as possible so that the current repository has the same history as the source repository. –unshallow
update_head_ok
By default git fetch refuses to update the head which corresponds to the current branch. This flag disables the check. This is purely for the internal use for git pull to communicate with git fetch, and unless you are implementing your own Porcelain you are not supposed to use it. -u, –update-head-ok
update_shallow
By default when fetching from a shallow repository, git fetch refuses refs that require updating .git/shallow. This option updates .git/shallow and accept such refs. –update-shallow
upload_pack
When given, and the repository to fetch from is handled by git fetch-pack, –exec= is passed to the command to specify non-default path for the command run on the other end. –upload-pack
verbose
Pass –verbose to git-fetch and git-merge. -v, –verbose
verify_signatures
Verify that the tip commit of the side branch being merged is signed with a valid key, i.e. a key that has a valid uid: in the default trust model, this means the signing key has been signed by a trusted key. –verify-signatures