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