summaryrefslogtreecommitdiff
path: root/Documentation/git-fetch-script.txt
blob: db3086c7329bdbcad32b81e9f5c7ad23d6cca0b1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
git-fetch-script(1)
===================
v0.99.4, Aug 2005
 
NAME
----
git-fetch-script - Download objects and a head from another repository.
 
 
SYNOPSIS
--------
'git-fetch-script' <repository> [ <head> | tag <tag> ]
 
 
DESCRIPTION
-----------
Fetches a named head or a tag from another repository, along
with the objects necessary to complete that head or tag.  The
head to pull defaults to HEAD if unspecified.  The head or tag
fetched from the remote repository is stored in
$GIT_DIR/FETCH_HEAD.
 
When a <tag> is specified, the <tag> fetched from the remote is
also copied to the local $GIT_DIR/tags/<tag> file.  When no
<head> nor <tag> is specified, and <repository> was specified
with the short-hand notation (i.e. naming a file under the
$GIT_DIR/branches directory), the head fetched from the remote
repository is also copied to the local $GIT_DIR/heads/<repository>
file.
 
 
OPTIONS
-------
include::pull-fetch-param.txt[]
 
 
Author
------
Written by Linus Torvalds <torvalds@osdl.org> and
Junio C Hamano <junkio@cox.net>
 
Documentation
--------------
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
 
GIT
---
Part of the link:git.html[git] suite