Search notes:

git pull

git-pull: Fetch from and integrate with another repository or a local branch.
git pull [<options>] [<repository> [<refspec>…]]
By default, git pull performs actually two operations:
So, git pull is an abbreviation for
git fetch
git merge FETCH_HEAD

Options

Related to fetching

--all
-a --append
--depth=<depth>
--deepen=<depth>
--shallow-since=<date>
--shallow-exclude=<revision>
--unshallow
--update-shallow
--negotiation-tip=<commit|glob>
--dry-run
-f --force
-k --keep
-p --prune
--no-tags
--refmap=<refspec>
-t --tags
-j --jobs=<n>
--set-upstream
--upload-pack <upload-pack>
--progress
-o --server-option=<option>
--show-forced-updates
--no-show-forced-updates
-4 --ipv4
-6 --ipv6

Related to merging

--[no-]recurse-submodules[=yes|on-demand|no]
--commit, --no-commit
-e --edit, --no-edit
--cleanup=<mode>
--ff, --no-ff, --ff-only
-S --gpt-sign[=<keyid>], --no-gpg-sign
--log[=<n>], --no-log
--signoff, --no-signoff
-n --stat, --no-stat Do or don't show a diffstat at the end of the merge. This value can also be configured with the option merge.stat.
--squash, --no-squash
--no-verify
-s --strategy=<strategy>
-X --strategy-option=<option>
--verify-signatures, --no-verify-signatures
--summary, --no-summary
--autostash, --no-autostash
--allow-unrelated-histories
-r --rebase[=false|true|merges|preserve|interactive]
--no-rebase

Other

-q --quiet This is passed to both underlying git-fetch to squelch reporting of during transfer, and underlying git-merge to squelch output during merging.
-v --verbose Pass --verbose to git fetch and git merge

See also

The http.proxySSLCAInfo config option.
git push
git commands

Index