2005-09-08 08:26:23 +08:00
|
|
|
git-fetch(1)
|
|
|
|
============
|
2005-07-16 15:17:42 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 08:26:23 +08:00
|
|
|
git-fetch - Download objects and a head from another repository.
|
2005-07-16 15:17:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-11-07 13:30:56 +08:00
|
|
|
'git-fetch' <options> <repository> <refspec>...
|
2005-07-16 15:17:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-08-25 07:23:08 +08: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
|
2005-11-07 13:30:56 +08:00
|
|
|
in `.git/FETCH_HEAD`. This information is left for a later merge
|
2005-12-09 06:04:33 +08:00
|
|
|
operation done by "git merge".
|
2005-07-16 15:17:42 +08:00
|
|
|
|
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
2005-11-07 13:30:56 +08:00
|
|
|
include::fetch-options.txt[]
|
2005-07-16 15:17:42 +08:00
|
|
|
|
2005-11-07 13:30:56 +08:00
|
|
|
include::pull-fetch-param.txt[]
|
2005-10-20 12:25:39 +08:00
|
|
|
|
2006-02-06 07:29:49 +08:00
|
|
|
include::urls.txt[]
|
2005-07-16 15:17:42 +08:00
|
|
|
|
2005-11-05 17:37:00 +08:00
|
|
|
SEE ALSO
|
|
|
|
--------
|
|
|
|
gitlink:git-pull[1]
|
|
|
|
|
|
|
|
|
2005-07-16 15:17:42 +08:00
|
|
|
Author
|
|
|
|
------
|
2005-08-15 08:24:36 +08:00
|
|
|
Written by Linus Torvalds <torvalds@osdl.org> and
|
|
|
|
Junio C Hamano <junkio@cox.net>
|
2005-07-16 15:17:42 +08:00
|
|
|
|
|
|
|
Documentation
|
2005-10-04 01:16:30 +08:00
|
|
|
-------------
|
2005-07-16 15:17:42 +08:00
|
|
|
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2005-09-19 18:10:51 +08:00
|
|
|
Part of the gitlink:git[7] suite
|