1GIT-HTTP-FETCH(1) Git Manual GIT-HTTP-FETCH(1)
2
3
4
6 git-http-fetch - Download from a remote git repository via HTTP
7
9 git http-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover]
10 [--stdin] <commit> <url>
11
13 Downloads a remote git repository via HTTP.
14
16 commit-id
17 Either the hash or the filename under [URL]/refs/ to pull.
18
19 -c
20 Get the commit objects.
21
22 -t
23 Get trees associated with the commit objects.
24
25 -a
26 Get all the objects.
27
28 -v
29 Report what is downloaded.
30
31 -w <filename>
32 Writes the commit-id into the filename under
33 $GIT_DIR/refs/<filename> on the local end after the transfer is
34 complete.
35
36 --stdin
37 Instead of a commit id on the command line (which is not expected
38 in this case), git http-fetch expects lines on stdin in the format
39
40 <commit-id>['\t'<filename-as-in--w>]
41
42 --recover
43 Verify that everything reachable from target is fetched. Used after
44 an earlier fetch is interrupted.
45
47 Written by Linus Torvalds <torvalds@osdl.org[1]>
48
50 Documentation by David Greaves, Junio C Hamano and the git-list
51 <git@vger.kernel.org[2]>.
52
54 Part of the git(1) suite
55
57 1. torvalds@osdl.org
58 mailto:torvalds@osdl.org
59
60 2. git@vger.kernel.org
61 mailto:git@vger.kernel.org
62
63
64
65Git 1.7.4.4 04/11/2011 GIT-HTTP-FETCH(1)