--pretty=format: fix broken %ct and %at interpolation
[git/dscho.git] / Documentation / git-local-fetch.txt
blob22048d82bdbff1f8a9d5f9ba312ad15b719afc03
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 'git-local-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [-l] [-s] [-n] commit-id path
13 DESCRIPTION
14 -----------
15 Duplicates another git repository on a local system.
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.
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.
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
36                 <commit-id>['\t'<filename-as-in--w>]
38 Author
39 ------
40 Written by Junio C Hamano <junkio@cox.net>
42 Documentation
43 --------------
44 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
46 GIT
47 ---
48 Part of the gitlink:git[7] suite