]> git.ipfire.org Git - thirdparty/git.git/blob - Documentation/git-http-fetch.txt
Documentation: use [verse] for SYNOPSIS sections
[thirdparty/git.git] / Documentation / git-http-fetch.txt
1 git-http-fetch(1)
2 =================
3
4 NAME
5 ----
6 git-http-fetch - Download from a remote git repository via HTTP
7
8
9 SYNOPSIS
10 --------
11 [verse]
12 'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
13
14 DESCRIPTION
15 -----------
16 Downloads a remote git repository via HTTP.
17
18 OPTIONS
19 -------
20 commit-id::
21 Either the hash or the filename under [URL]/refs/ to
22 pull.
23
24 -c::
25 Get the commit objects.
26 -t::
27 Get trees associated with the commit objects.
28 -a::
29 Get all the objects.
30 -v::
31 Report what is downloaded.
32
33 -w <filename>::
34 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
35 the local end after the transfer is complete.
36
37 --stdin::
38 Instead of a commit id on the command line (which is not expected in this
39 case), 'git http-fetch' expects lines on stdin in the format
40
41 <commit-id>['\t'<filename-as-in--w>]
42
43 --recover::
44 Verify that everything reachable from target is fetched. Used after
45 an earlier fetch is interrupted.
46
47 GIT
48 ---
49 Part of the linkgit:git[1] suite