Documentation / git-local-fetch.txton commit Merge commit 'jc/maint' into gfi-maint (ec771a7)
   1git-local-fetch(1)
   2==================
   3
   4NAME
   5----
   6git-local-fetch - Duplicate another git repository on a local system
   7
   8
   9SYNOPSIS
  10--------
  11'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path
  12
  13DESCRIPTION
  14-----------
  15Duplicates another git repository on a local system.
  16
  17OPTIONS
  18-------
  19-c::
  20        Get the commit objects.
  21-t::
  22        Get trees associated with the commit objects.
  23-a::
  24        Get all the objects.
  25-v::
  26        Report what is downloaded.
  27-s::
  28        Instead of regular file-to-file copying use symbolic links to the objects
  29        in the remote repository.
  30-l::
  31        Before attempting symlinks (if -s is specified) or file-to-file copying the
  32        remote objects, try to hardlink the remote objects into the local
  33        repository.
  34-n::
  35        Never attempt to file-to-file copy remote objects.  Only useful with
  36        -s or -l command-line options.
  37
  38-w <filename>::
  39        Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
  40        the local end after the transfer is complete.
  41
  42--stdin::
  43        Instead of a commit id on the commandline (which is not expected in this
  44        case), 'git-local-fetch' expects lines on stdin in the format
  45
  46                <commit-id>['\t'<filename-as-in--w>]
  47
  48--recover::
  49        Verify that everything reachable from target is fetched.  Used after
  50        an earlier fetch is interrupted.
  51
  52Author
  53------
  54Written by Junio C Hamano <junkio@cox.net>
  55
  56Documentation
  57--------------
  58Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
  59
  60GIT
  61---
  62Part of the gitlink:git[7] suite
  63