Documentation: don't reference non-existent 'git-cvsapplycommit'
[git/dscho.git] / Documentation / git-local-fetch.txt
blobdd9e2387fcca205b2ec80d7f6207ce84c53a7377
1 git-local-fetch(1)
2 ==================
4 NAME
5 ----
6 git-local-fetch - Duplicate another git repository on a local system
9 SYNOPSIS
10 --------
11 'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path
13 DESCRIPTION
14 -----------
15 Duplicates another git repository on a local system.
17 OPTIONS
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.
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.
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
46                 <commit-id>['\t'<filename-as-in--w>]
48 --recover::
49         Verify that everything reachable from target is fetched.  Used after
50         an earlier fetch is interrupted.
52 Author
53 ------
54 Written by Junio C Hamano <junkio@cox.net>
56 Documentation
57 --------------
58 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
60 GIT
61 ---
62 Part of the gitlink:git[7] suite