2005-09-08 02:26:23 +02:00
|
|
|
git-fetch(1)
|
|
|
|
============
|
2005-08-25 01:23:08 +02:00
|
|
|
v0.99.5, Aug 2005
|
2005-07-16 09:17:42 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 02:26:23 +02:00
|
|
|
git-fetch - Download objects and a head from another repository.
|
2005-07-16 09:17:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 02:26:23 +02:00
|
|
|
'git-fetch' <repository> <refspec>...
|
2005-07-16 09:17:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-25 01:23:08 +02:00
|
|
|
Fetches named heads or tags from another repository, along with
|
|
|
|
the objects necessary to complete them.
|
|
|
|
|
|
|
|
The ref names and their object names of fetched refs are stored
|
|
|
|
in $GIT_DIR/FETCH_HEAD. This information is left for a later merge
|
|
|
|
operation done by "git resolve" or "git octopus".
|
2005-07-16 09:17:42 +02:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
include::pull-fetch-param.txt[]
|
|
|
|
|
2005-09-14 14:48:05 +02:00
|
|
|
-u, \--update-head-ok::
|
|
|
|
By default 'git-fetch' refuses to update the head which
|
|
|
|
corresponds to the current branch. This flag disables the
|
|
|
|
check. Note that fetching into the current branch will not
|
|
|
|
update the index and working directory, so use it with care.
|
|
|
|
|
2005-07-16 09:17:42 +02:00
|
|
|
|
|
|
|
Author
|
|
|
|
------
|
2005-08-15 02:24:36 +02:00
|
|
|
Written by Linus Torvalds <torvalds@osdl.org> and
|
|
|
|
Junio C Hamano <junkio@cox.net>
|
2005-07-16 09:17:42 +02:00
|
|
|
|
|
|
|
Documentation
|
2005-10-03 19:16:30 +02:00
|
|
|
-------------
|
2005-07-16 09:17:42 +02:00
|
|
|
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2005-09-19 12:10:51 +02:00
|
|
|
Part of the gitlink:git[7] suite
|