git-pull
: Fetch from and integrate with another repository or a local branch. git pull [<options>] [<repository> [<refspec>…]]
git pull
performs actually two operations: git fetch
) changes from a remote repository or local brach, and
git pull
is an abbreviation for git fetch git merge FETCH_HEAD
--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 |
--[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 |