6 git-local-fetch - Duplicate another git repository on a local system
11 'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path
15 Duplicates another git repository on a local system.
20 Get the commit objects.
22 Get trees associated with the commit objects.
26 Report what is downloaded.
28 Instead of regular file-to-file copying use symbolic links to the objects
29 in the remote repository.
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
35 Never attempt to file-to-file copy remote objects. Only useful with
36 -s or -l command-line options.
39 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
40 the local end after the transfer is complete.
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>]
49 Verify that everything reachable from target is fetched. Used after
50 an earlier fetch is interrupted.
54 Written by Junio C Hamano <junkio@cox.net>
58 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
62 Part of the gitlink:git[7] suite