blob: b784a9d07ed284c4e39b374e1b52c0cb5ee9f417 [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-http-fetch(1)
2=================
3
4NAME
5----
Junio C Hamano7c73c662007-01-19 00:37:506git-http-fetch - Download from a remote git repository via HTTP
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamanof870ef82006-07-29 09:10:1311'git-http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
Junio C Hamano1a4e8412005-12-27 08:17:2312
13DESCRIPTION
14-----------
15Downloads a remote git repository via HTTP.
16
17OPTIONS
18-------
19commit-id::
20 Either the hash or the filename under [URL]/refs/ to
21 pull.
22
23-c::
24Get the commit objects.
25-t::
26Get trees associated with the commit objects.
27-a::
28Get all the objects.
29-v::
30Report what is downloaded.
31
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.
35
Junio C Hamanof870ef82006-07-29 09:10:1336--stdin::
Junio C Hamanoa6387422007-08-25 03:54:2737Instead of a commit id on the command line (which is not expected in this
Junio C Hamanof870ef82006-07-29 09:10:1338case), 'git-http-fetch' expects lines on stdin in the format
39
40<commit-id>['\t'<filename-as-in--w>]
41
Junio C Hamano9882a522007-04-27 08:22:2242--recover::
43Verify that everything reachable from target is fetched. Used after
44an earlier fetch is interrupted.
45
Junio C Hamano1a4e8412005-12-27 08:17:2346Author
47------
48Written by Linus Torvalds <torvalds@osdl.org>
49
50Documentation
51--------------
52Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
53
54GIT
55---
Junio C Hamano35738e82008-01-07 07:55:4656Part of the linkgit:git[7] suite