2005-09-08 02:26:23 +02:00
|
|
|
git-pull(1)
|
|
|
|
===========
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2005-09-08 02:26:23 +02:00
|
|
|
git-pull - Pull and merge from another repository.
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2005-09-08 02:26:23 +02:00
|
|
|
'git-pull' <repository> <refspec>...
|
2005-07-16 09:17:42 +02:00
|
|
|
|
2005-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-09-08 02:26:23 +02:00
|
|
|
Runs 'git-fetch' with the given parameters.
|
2005-08-25 01:23:08 +02:00
|
|
|
|
|
|
|
When only one ref is downloaded, runs 'git resolve' to merge it
|
|
|
|
into the local HEAD. Otherwise uses 'git octopus' to merge them
|
|
|
|
into the local HEAD.
|
2005-07-16 09:17:42 +02:00
|
|
|
|
2005-11-01 23:03:13 +01:00
|
|
|
Note that you can use '.' (current directory) as the
|
|
|
|
<repository> to pull from the local repository -- this is useful
|
|
|
|
when merging local branches into the current branch.
|
2005-07-16 09:17:42 +02:00
|
|
|
|
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
include::pull-fetch-param.txt[]
|
2005-05-10 23:32:30 +02:00
|
|
|
|
2005-10-20 06:25:39 +02:00
|
|
|
-a, \--append::
|
|
|
|
Append ref names and object names of fetched refs to the
|
|
|
|
existing contents of $GIT_DIR/FETCH_HEAD. Without this
|
|
|
|
option old data in $GIT_DIR/FETCH_HEAD will be overwritten.
|
2005-05-10 23:32:30 +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-05-10 23:32:30 +02:00
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
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
|
2005-05-10 23:32:30 +02:00
|
|
|
|