]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-http-fetch.txt
Merge branch 'js/t3404-typofix' into maint
[thirdparty/git.git] / Documentation / git-http-fetch.txt
CommitLineData
215a7ad1
JH
1git-http-fetch(1)
2=================
2cf565c5
DG
3
4NAME
5----
2de9b711 6git-http-fetch - Download from a remote Git repository via HTTP
2cf565c5
DG
7
8
9SYNOPSIS
10--------
7791a1d9 11[verse]
b1889c36 12'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
2cf565c5
DG
13
14DESCRIPTION
15-----------
2de9b711 16Downloads a remote Git repository via HTTP.
2cf565c5 17
2e85a0c8
18This command always gets all objects. Historically, there were three options
19`-a`, `-c` and `-t` for choosing which objects to download. They are now
20silently ignored.
a6c786fc 21
5dd73421
NW
22OPTIONS
23-------
24commit-id::
25 Either the hash or the filename under [URL]/refs/ to
26 pull.
27
2e85a0c8
28-a, -c, -t::
29 These options are ignored for historical reasons.
2cf565c5
DG
30-v::
31 Report what is downloaded.
2c6e4771
JS
32
33-w <filename>::
34 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
613d872c 35 the local end after the transfer is complete.
2cf565c5 36
8e29f6a0 37--stdin::
02783075 38 Instead of a commit id on the command line (which is not expected in this
0b444cdb 39 case), 'git http-fetch' expects lines on stdin in the format
8e29f6a0
PB
40
41 <commit-id>['\t'<filename-as-in--w>]
42
71e2e599
AR
43--recover::
44 Verify that everything reachable from target is fetched. Used after
45 an earlier fetch is interrupted.
46
2cf565c5
DG
47GIT
48---
9e1f0a85 49Part of the linkgit:git[1] suite