source: git/branches/dmik/Documentation/git-http-fetch.txt@ 782

Last change on this file since 782 was 782, checked in by dmik, 11 years ago

git: Merge version 2.0.0 from vendor to dmik branch.

File size: 1.1 KB
Line 
1git-http-fetch(1)
2=================
3
4NAME
5----
6git-http-fetch - Download from a remote Git repository via HTTP
7
8
9SYNOPSIS
10--------
11[verse]
12'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
13
14DESCRIPTION
15-----------
16Downloads a remote Git repository via HTTP.
17
18*NOTE*: use of this command without -a is deprecated. The -a
19behaviour will become the default in a future release.
20
21OPTIONS
22-------
23commit-id::
24 Either the hash or the filename under [URL]/refs/ to
25 pull.
26
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.
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
40--stdin::
41 Instead of a commit id on the command line (which is not expected in this
42 case), 'git http-fetch' expects lines on stdin in the format
43
44 <commit-id>['\t'<filename-as-in--w>]
45
46--recover::
47 Verify that everything reachable from target is fetched. Used after
48 an earlier fetch is interrupted.
49
50GIT
51---
52Part of the linkgit:git[1] suite
Note: See TracBrowser for help on using the repository browser.