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