e830deeff321c67781edb1a355c3d6829c04038d
[git/git.git] / Documentation / git-local-fetch.txt
1 git-local-fetch(1)
2 ==================
3
4 NAME
5 ----
6 git-local-fetch - Duplicate another git repository on a local system
7
8
9 SYNOPSIS
10 --------
11 [verse]
12 'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n]
13 commit-id path
14
15 DESCRIPTION
16 -----------
17 THIS COMMAND IS DEPRECATED.
18
19 Duplicates another git repository on a local system.
20
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.
41
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.
45
46 --stdin::
47 Instead of a commit id on the command line (which is not expected in this
48 case), 'git-local-fetch' expects lines on stdin in the format
49
50 <commit-id>['\t'<filename-as-in--w>]
51
52 --recover::
53 Verify that everything reachable from target is fetched. Used after
54 an earlier fetch is interrupted.
55
56 Author
57 ------
58 Written by Junio C Hamano <junkio@cox.net>
59
60 Documentation
61 --------------
62 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
63
64 GIT
65 ---
66 Part of the gitlink:git[7] suite