receive-pack: do not insist on fast-forward outside refs/heads/
[git/mingw/4msysgit/wingit-dll.git] / Documentation / git-fetch.txt
bloba9e86fd26b0df6fe7a84ebdd030b9ae4d46f597e
1 git-fetch(1)
2 ============
4 NAME
5 ----
6 git-fetch - Download objects and a head from another repository
9 SYNOPSIS
10 --------
11 'git-fetch' <options> <repository> <refspec>...
14 DESCRIPTION
15 -----------
16 Fetches named heads or tags from another repository, along with
17 the objects necessary to complete them.
19 The ref names and their object names of fetched refs are stored
20 in `.git/FETCH_HEAD`.  This information is left for a later merge
21 operation done by "git merge".
24 OPTIONS
25 -------
26 include::fetch-options.txt[]
28 include::pull-fetch-param.txt[]
30 include::urls.txt[]
32 SEE ALSO
33 --------
34 gitlink:git-pull[1]
37 Author
38 ------
39 Written by Linus Torvalds <torvalds@osdl.org> and
40 Junio C Hamano <junkio@cox.net>
42 Documentation
43 -------------
44 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
46 GIT
47 ---
48 Part of the gitlink:git[7] suite