Mark disused commit walkers officially deprecated.
[git/jrn.git] / Documentation / git-local-fetch.txt
blob141b76768c61c42e6d876ddb840897cb8805dc96
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 [verse]
12 'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n]
13                   commit-id path
15 DESCRIPTION
16 -----------
17 THIS COMMAND IS DEPRECATED.
19 Duplicates another git repository on a local system.
21 OPTIONS
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.
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.
42 -w <filename>::
43         Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
44         the local end after the transfer is complete.
46 --stdin::
47         Instead of a commit id on the commandline (which is not expected in this
48         case), 'git-local-fetch' expects lines on stdin in the format
50                 <commit-id>['\t'<filename-as-in--w>]
52 --recover::
53         Verify that everything reachable from target is fetched.  Used after
54         an earlier fetch is interrupted.
56 Author
57 ------
58 Written by Junio C Hamano <junkio@cox.net>
60 Documentation
61 --------------
62 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
64 GIT
65 ---
66 Part of the gitlink:git[7] suite