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
41 <commit-id>[´\t´<filename-as-in--w>]
42
43 --recover
44 Verify that everything reachable from target is fetched. Used after
45 an earlier fetch is interrupted.
46
48 Written by Linus Torvalds <torvalds@osdl.org>
49
51 Documentation by David Greaves, Junio C Hamano and the git-list
52 <git@vger.kernel.org>.
53
55 Part of the git(7) suite
56
57
58
59
60Git 1.5.3.3 10/09/2007 GIT-HTTP-FETCH(1)