git-apply(1): document missing options and improve existing ones
[git/dscho.git] / Documentation / git-http-fetch.txt
blob3d508094afc6a79d40b84ce0a3380f487a40d5e8
1 git-http-fetch(1)
2 =================
4 NAME
5 ----
6 git-http-fetch - downloads a remote git repository via HTTP
9 SYNOPSIS
10 --------
11 'git-http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
13 DESCRIPTION
14 -----------
15 Downloads a remote git repository via HTTP.
17 OPTIONS
18 -------
19 commit-id::
20         Either the hash or the filename under [URL]/refs/ to
21         pull.
23 -c::
24         Get the commit objects.
25 -t::
26         Get trees associated with the commit objects.
27 -a::
28         Get all the objects.
29 -v::
30         Report what is downloaded.
32 -w <filename>::
33         Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
34         the local end after the transfer is complete.
36 --stdin::
37         Instead of a commit id on the commandline (which is not expected in this
38         case), 'git-http-fetch' expects lines on stdin in the format
40                 <commit-id>['\t'<filename-as-in--w>]
42 Author
43 ------
44 Written by Linus Torvalds <torvalds@osdl.org>
46 Documentation
47 --------------
48 Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
50 GIT
51 ---
52 Part of the gitlink:git[7] suite