22048d82bdbff1f8a9d5f9ba312ad15b719afc03
[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 'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path
12
13 DESCRIPTION
14 -----------
15 Duplicates another git repository on a local system.
16
17 OPTIONS
18 -------
19 -c::
20 Get the commit objects.
21 -t::
22 Get trees associated with the commit objects.
23 -a::
24 Get all the objects.
25 -v::
26 Report what is downloaded.
27
28 -w <filename>::
29 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
30 the local end after the transfer is complete.
31
32 --stdin::
33 Instead of a commit id on the commandline (which is not expected in this
34 case), 'git-local-fetch' expects lines on stdin in the format
35
36 <commit-id>['\t'<filename-as-in--w>]
37
38 Author
39 ------
40 Written by Junio C Hamano <junkio@cox.net>
41
42 Documentation
43 --------------
44 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
45
46 GIT
47 ---
48 Part of the gitlink:git[7] suite
49