]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-http-fetch.txt
Merge branch 'bw/get-tz-offset-perl' into maint
[thirdparty/git.git] / Documentation / git-http-fetch.txt
CommitLineData
215a7ad1
JH
1git-http-fetch(1)
2=================
2cf565c5
DG
3
4NAME
5----
c3f0baac 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-----------
72e9340c 16Downloads a remote git repository via HTTP.
2cf565c5 17
a6c786fc
BW
18*NOTE*: use of this command without -a is deprecated. The -a
19behaviour will become the default in a future release.
20
5dd73421
NW
21OPTIONS
22-------
23commit-id::
24 Either the hash or the filename under [URL]/refs/ to
25 pull.
26
2cf565c5
DG
27-c::
28 Get the commit objects.
29-t::
30 Get trees associated with the commit objects.
31-a::
32 Get all the objects.
33-v::
34 Report what is downloaded.
2c6e4771
JS
35
36-w <filename>::
37 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
613d872c 38 the local end after the transfer is complete.
2cf565c5 39
8e29f6a0 40--stdin::
02783075 41 Instead of a commit id on the command line (which is not expected in this
0b444cdb 42 case), 'git http-fetch' expects lines on stdin in the format
8e29f6a0
PB
43
44 <commit-id>['\t'<filename-as-in--w>]
45
71e2e599
AR
46--recover::
47 Verify that everything reachable from target is fetched. Used after
48 an earlier fetch is interrupted.
49
2cf565c5
DG
50GIT
51---
9e1f0a85 52Part of the linkgit:git[1] suite