]>
Commit | Line | Data |
---|---|---|
215a7ad1 JH |
1 | git-fetch(1) |
2 | ============ | |
0c04094b JH |
3 | |
4 | NAME | |
5 | ---- | |
215a7ad1 | 6 | git-fetch - Download objects and a head from another repository. |
0c04094b JH |
7 | |
8 | ||
9 | SYNOPSIS | |
10 | -------- | |
93d69d86 | 11 | 'git-fetch' <options> <repository> <refspec>... |
0c04094b JH |
12 | |
13 | ||
14 | DESCRIPTION | |
15 | ----------- | |
ab9b3138 JH |
16 | Fetches named heads or tags from another repository, along with |
17 | the objects necessary to complete them. | |
18 | ||
19 | The ref names and their object names of fetched refs are stored | |
93d69d86 | 20 | in `.git/FETCH_HEAD`. This information is left for a later merge |
9688a882 | 21 | operation done by "git merge". |
0c04094b JH |
22 | |
23 | ||
24 | OPTIONS | |
25 | ------- | |
93d69d86 | 26 | include::fetch-options.txt[] |
0c04094b | 27 | |
93d69d86 | 28 | include::pull-fetch-param.txt[] |
d6a73596 | 29 | |
61420a2c | 30 | |
0c04094b | 31 | |
fdd08979 JH |
32 | SEE ALSO |
33 | -------- | |
34 | gitlink:git-pull[1] | |
35 | ||
36 | ||
0c04094b JH |
37 | Author |
38 | ------ | |
3f971fc4 JH |
39 | Written by Linus Torvalds <torvalds@osdl.org> and |
40 | Junio C Hamano <junkio@cox.net> | |
0c04094b JH |
41 | |
42 | Documentation | |
df8baa42 | 43 | ------------- |
0c04094b JH |
44 | Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>. |
45 | ||
46 | GIT | |
47 | --- | |
a7154e91 | 48 | Part of the gitlink:git[7] suite |