Difference between revisions of "Git fetch"

From wikieduonline
Jump to navigation Jump to search
 
(5 intermediate revisions by 2 users not shown)
Line 5: Line 5:
  
 
* <code>git fetch</code>
 
* <code>git fetch</code>
 +
* <code>[[git fetch origin]]</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>
* <code>[[git fetch origin]]</code>
 
 
* <code>[[git fetch -v]]</code>
 
* <code>[[git fetch -v]]</code>
  
Line 19: Line 20:
 
  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]]
  
  
Line 26: Line 29:
 
* <code>[[git merge]]</code>
 
* <code>[[git merge]]</code>
 
* {{git get}}
 
* {{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 ==

Latest revision as of 12:07, 6 February 2023

Advertising: