Merge http://www.kernel.org/pub/scm/gitk/gitk
[git/git.git] / Documentation / git-pull.txt
1 git-pull(1)
2 ===========
3
4 NAME
5 ----
6 git-pull - Pull and merge from another repository.
7
8
9 SYNOPSIS
10 --------
11 'git-pull' <repository> <refspec>...
12
13
14 DESCRIPTION
15 -----------
16 Runs 'git-fetch' with the given parameters.
17
18 When only one ref is downloaded, runs 'git resolve' to merge it
19 into the local HEAD. Otherwise uses 'git octopus' to merge them
20 into the local HEAD.
21
22
23 OPTIONS
24 -------
25 include::pull-fetch-param.txt[]
26
27 -a, \--append::
28 Append ref names and object names of fetched refs to the
29 existing contents of $GIT_DIR/FETCH_HEAD. Without this
30 option old data in $GIT_DIR/FETCH_HEAD will be overwritten.
31
32 Author
33 ------
34 Written by Linus Torvalds <torvalds@osdl.org>
35 and Junio C Hamano <junkio@cox.net>
36
37 Documentation
38 --------------
39 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
40
41 GIT
42 ---
43 Part of the gitlink:git[7] suite
44