Documentation / git-fetch-script.txton commit [PATCH] When copying or renaming, keep the mode, please (35cc4bc)
   1git-fetch-script(1)
   2===================
   3v0.99.4, Aug 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
  40Junio C Hamano <junkio@cox.net>
  41
  42Documentation
  43--------------
  44Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  45
  46GIT
  47---
  48Part of the link:git.html[git] suite