blob: 21a33d2c414e24eb779669f10beefde58db00f1c [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-http-fetch(1)
2=================
3
4NAME
5----
Junio C Hamano076ffcc2013-02-06 05:13:216git-http-fetch - Download from a remote Git repository via HTTP
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamano15567bc2011-07-23 00:51:5911[verse]
Junio C Hamanofce7c7e2008-07-02 03:06:3812'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
Junio C Hamano1a4e8412005-12-27 08:17:2313
14DESCRIPTION
15-----------
Junio C Hamano076ffcc2013-02-06 05:13:2116Downloads a remote Git repository via HTTP.
Junio C Hamano1a4e8412005-12-27 08:17:2317
Junio C Hamano6e41cb32011-08-29 07:12:4918*NOTE*: use of this command without -a is deprecated. The -a
19behaviour will become the default in a future release.
20
Junio C Hamano1a4e8412005-12-27 08:17:2321OPTIONS
22-------
23commit-id::
24 Either the hash or the filename under [URL]/refs/ to
25 pull.
26
27-c::
28Get the commit objects.
29-t::
30Get trees associated with the commit objects.
31-a::
32Get all the objects.
33-v::
34Report what is downloaded.
35
36-w <filename>::
37 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
38 the local end after the transfer is complete.
39
Junio C Hamanof870ef82006-07-29 09:10:1340--stdin::
Junio C Hamanoa6387422007-08-25 03:54:2741Instead of a commit id on the command line (which is not expected in this
Junio C Hamano1aa40d22010-01-21 17:46:4342case), 'git http-fetch' expects lines on stdin in the format
Junio C Hamanof870ef82006-07-29 09:10:1343
44<commit-id>['\t'<filename-as-in--w>]
45
Junio C Hamano9882a522007-04-27 08:22:2246--recover::
47Verify that everything reachable from target is fetched. Used after
48an earlier fetch is interrupted.
49
Junio C Hamano1a4e8412005-12-27 08:17:2350GIT
51---
Junio C Hamanof7c042d2008-06-06 22:50:5352Part of the linkgit:git[1] suite