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