Difference between revisions of "Git fetch"
Jump to navigation
Jump to search
Line 3: | Line 3: | ||
https://git-scm.com/docs/git-fetch | https://git-scm.com/docs/git-fetch | ||
− | + | * [[git fetch --help]] | |
* <code>git fetch</code> | * <code>git fetch</code> | ||
* <code>[[git fetch origin]]</code> | * <code>[[git fetch origin]]</code> |
Revision as of 12:41, 22 October 2024
git fetch
download objects and refs from another repository.
https://git-scm.com/docs/git-fetch
- git fetch --help
git fetch
git fetch origin
git fetch --all
git fetch --dry-run
git fetch --prune
git fetch -v
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
Contents
Errors
fatal: not a git repository (or any of the parent directories): .git
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/
Advertising: