7 git-fetch-script - Download objects and a head from another repository.
12 'git-fetch-script' <repository> [ <head> | tag <tag> ]
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
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>
34 include::pull-fetch-param.txt[]
39 Written by Linus Torvalds <torvalds@osdl.org> and Junio C Hamano <junkio@cox.net>
43 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
47 Part of the link:git.html[git] suite