]> git.ipfire.org Git - thirdparty/git.git/blame - Documentation/git-http-fetch.txt
Merge git://git.bogomips.org/git-svn
[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--------
b1889c36 11'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
2cf565c5
DG
12
13DESCRIPTION
14-----------
72e9340c 15Downloads a remote git repository via HTTP.
2cf565c5 16
5dd73421
NW
17OPTIONS
18-------
19commit-id::
20 Either the hash or the filename under [URL]/refs/ to
21 pull.
22
2cf565c5
DG
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.
2c6e4771
JS
31
32-w <filename>::
33 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
613d872c 34 the local end after the transfer is complete.
2cf565c5 35
8e29f6a0 36--stdin::
02783075 37 Instead of a commit id on the command line (which is not expected in this
0b444cdb 38 case), 'git http-fetch' expects lines on stdin in the format
8e29f6a0
PB
39
40 <commit-id>['\t'<filename-as-in--w>]
41
71e2e599
AR
42--recover::
43 Verify that everything reachable from target is fetched. Used after
44 an earlier fetch is interrupted.
45
2cf565c5
DG
46GIT
47---
9e1f0a85 48Part of the linkgit:git[1] suite