Difference between revisions of "Git fetch"
Jump to navigation
Jump to search
Line 6: | Line 6: | ||
* <code>git fetch</code> | * <code>git fetch</code> | ||
* <code>[[git fetch origin]]</code> | * <code>[[git fetch origin]]</code> | ||
− | * <code>git fetch --all</code> | + | * <code>[[git fetch --all]]</code> |
* <code>[[git fetch --dry-run]]</code> | * <code>[[git fetch --dry-run]]</code> | ||
* <code>[[git fetch --prune]]</code> | * <code>[[git fetch --prune]]</code> |
Revision as of 12:07, 6 February 2023
git fetch
download objects and refs from another repository.
https://git-scm.com/docs/git-fetch
https://git-scm.com/docs/git-fetch
git fetch (no output)
git fetch https://github.com/zabbix/zabbix-docker.git fatal: not a git repository (or any of the parent directories): .git Solution: git clone
Related commands
Activities
- Read about the differences between
git pull
andgit fetch
: https://stackoverflow.com/questions/292357/what-is-the-difference-between-git-pull-and-git-fetch
See also
git fetch, --all
,git auto-fetch
,git -C
git
: [config | init | status ]
,git add
,git rm
,git commit
,git push, git pull
,.gitconfig
,.gitignore
,git
(clone
,fetch
,pull
),git tag
,git log
,git blame
, Merge Request, LFS,git branch
,git apply
,git rebase
,git diff
,git diff-tree
,git config --global
,remote | submodule | request-pull
,GIT_TRACE, GIT_CURL_VERBOSE
,clean
,main
,git show-ref
,git reset
,git prune
,git ls-remote origin
,git checkout
,git switch
,pathspec
,git credential-osxkeychain
,git version
,pre-commit
,git --help
, GitBook,refs/
git
, GitHub, GitLab, Gerrit, TeamCity, Jenkins, CircleCI, Bitbucket, AWS Codecommit
Advertising: