Documentation / git-fetch.txton commit Merge branch 'maint' (5363d07)
   1git-fetch(1)
   2============
   3
   4NAME
   5----
   6git-fetch - Download objects and refs from another repository
   7
   8
   9SYNOPSIS
  10--------
  11'git fetch' <options> <repository> <refspec>...
  12
  13
  14DESCRIPTION
  15-----------
  16Fetches named heads or tags from another repository, along with
  17the objects necessary to complete them.
  18
  19The ref names and their object names of fetched refs are stored
  20in `.git/FETCH_HEAD`.  This information is left for a later merge
  21operation done by 'git-merge'.
  22
  23When <refspec> stores the fetched result in tracking branches,
  24the tags that point at these branches are automatically
  25followed.  This is done by first fetching from the remote using
  26the given <refspec>s, and if the repository has objects that are
  27pointed by remote tags that it does not yet have, then fetch
  28those missing tags.  If the other end has tags that point at
  29branches you are not interested in, you will not get them.
  30
  31
  32OPTIONS
  33-------
  34include::fetch-options.txt[]
  35
  36include::pull-fetch-param.txt[]
  37
  38include::urls-remotes.txt[]
  39
  40SEE ALSO
  41--------
  42linkgit:git-pull[1]
  43
  44
  45Author
  46------
  47Written by Linus Torvalds <torvalds@osdl.org> and
  48Junio C Hamano <gitster@pobox.com>
  49
  50Documentation
  51-------------
  52Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  53
  54GIT
  55---
  56Part of the linkgit:git[1] suite