1GIT-HTTP-FETCH(1) Git Manual GIT-HTTP-FETCH(1)
2
3
4
6 git-http-fetch - Download from a remote Git repository via HTTP
7
9 git http-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
10
12 Downloads a remote Git repository via HTTP.
13
14 This command always gets all objects. Historically, there were three
15 options -a, -c and -t for choosing which objects to download. They are
16 now silently ignored.
17
19 commit-id
20 Either the hash or the filename under [URL]/refs/ to pull.
21
22 -a, -c, -t
23 These options are ignored for historical reasons.
24
25 -v
26 Report what is downloaded.
27
28 -w <filename>
29 Writes the commit-id into the filename under
30 $GIT_DIR/refs/<filename> on the local end after the transfer is
31 complete.
32
33 --stdin
34 Instead of a commit id on the command line (which is not expected
35 in this case), git http-fetch expects lines on stdin in the format
36
37 <commit-id>['\t'<filename-as-in--w>]
38
39 --recover
40 Verify that everything reachable from target is fetched. Used after
41 an earlier fetch is interrupted.
42
44 Part of the git(1) suite
45
46
47
48Git 2.26.2 2020-04-20 GIT-HTTP-FETCH(1)