[PATCH] possible memory leak in diff.c::diff_free_filepair()
[git.git] / Documentation / git-fetch-script.txt
blobdb3086c7329bdbcad32b81e9f5c7ad23d6cca0b1
1 git-fetch-script(1)
2 ===================
3 v0.99.4, Aug 2005
5 NAME
6 ----
7 git-fetch-script - Download objects and a head from another repository.
10 SYNOPSIS
11 --------
12 'git-fetch-script' <repository> [ <head> | tag <tag> ]
15 DESCRIPTION
16 -----------
17 Fetches a named head or a tag from another repository, along
18 with the objects necessary to complete that head or tag.  The
19 head to pull defaults to HEAD if unspecified.  The head or tag
20 fetched from the remote repository is stored in
21 $GIT_DIR/FETCH_HEAD.
23 When a <tag> is specified, the <tag> fetched from the remote is
24 also copied to the local $GIT_DIR/tags/<tag> file.  When no
25 <head> nor <tag> is specified, and <repository> was specified
26 with the short-hand notation (i.e. naming a file under the
27 $GIT_DIR/branches directory), the head fetched from the remote
28 repository is also copied to the local $GIT_DIR/heads/<repository>
29 file.
32 OPTIONS
33 -------
34 include::pull-fetch-param.txt[]
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 link:git.html[git] suite