Difference between revisions of "Git fetch"

From wikieduonline
Jump to navigation Jump to search
Tags: Mobile web edit, Mobile edit
 
(26 intermediate revisions by 4 users not shown)
Line 1: Line 1:
{{Draft}}
+
{{lowercase}}
<code>git fetch</code>, https://git-scm.com/docs/git-fetch
+
<code>[[git fetch]]</code> download objects and [[refs]] from another repository.
 +
https://git-scm.com/docs/git-fetch
 +
 
 +
* [[git fetch --help]]
 +
* <code>git fetch</code>
 +
* <code>[[git -C]]</code>
 +
* <code>[[git fetch origin]]</code>
 +
* <code>[[git fetch --all]]</code>
 +
* <code>[[git fetch --dry-run]]</code>
 +
* <code>[[git fetch --prune]]</code>
 +
* <code>[[git fetch -v]]</code>
 +
 
 +
 
 +
 
 +
https://git-scm.com/docs/git-fetch
 +
 
 +
git fetch
 +
(no output)
  
 
  git fetch https://github.com/zabbix/zabbix-docker.git
 
  git fetch https://github.com/zabbix/zabbix-docker.git
 
  fatal: not a git repository (or any of the parent directories): .git
 
  fatal: not a git repository (or any of the parent directories): .git
 +
 +
Solution: [[git clone]]
 +
 +
== Errors ==
 +
[[fatal: not a git repository (or any of the parent directories): .git]]
  
  
 
== Related commands ==
 
== Related commands ==
 
* <code>[[git pull]]</code>
 
* <code>[[git pull]]</code>
 +
* <code>[[git fetch upstream]]</code>
 +
* <code>[[git merge]]</code>
 +
* {{git get}}
 +
* <code>[[git checkout]]</code>
  
 +
== Activities ==
 +
* Read about the differences between <code>[[git pull]]</code> and <code>[[git fetch]]</code>: https://stackoverflow.com/questions/292357/what-is-the-difference-between-git-pull-and-git-fetch
  
 
== See also ==
 
== See also ==
* {{git}}
+
* {{git fetch}}
* {{git software}}
 
  
 
[[Category:Git]]
 
[[Category:Git]]

Latest revision as of 12:45, 22 October 2024

Advertising: