Documentation / git-http-fetch.txton commit Merge branch 'sg/doc-show-branch-typofix' (4b73fda)
   1git-http-fetch(1)
   2=================
   3
   4NAME
   5----
   6git-http-fetch - Download from a remote Git repository via HTTP
   7
   8
   9SYNOPSIS
  10--------
  11[verse]
  12'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
  13
  14DESCRIPTION
  15-----------
  16Downloads a remote Git repository via HTTP.
  17
  18This command always gets all objects. Historically, there were three options
  19`-a`, `-c` and `-t` for choosing which objects to download. They are now
  20silently ignored.
  21
  22OPTIONS
  23-------
  24commit-id::
  25        Either the hash or the filename under [URL]/refs/ to
  26        pull.
  27
  28-a, -c, -t::
  29        These options are ignored for historical reasons.
  30-v::
  31        Report what is downloaded.
  32
  33-w <filename>::
  34        Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
  35        the local end after the transfer is complete.
  36
  37--stdin::
  38        Instead of a commit id on the command line (which is not expected in this
  39        case), 'git http-fetch' expects lines on stdin in the format
  40
  41                <commit-id>['\t'<filename-as-in--w>]
  42
  43--recover::
  44        Verify that everything reachable from target is fetched.  Used after
  45        an earlier fetch is interrupted.
  46
  47GIT
  48---
  49Part of the linkgit:git[1] suite