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
11
13 Downloads a remote Git repository via HTTP.
14
15 NOTE: use of this command without -a is deprecated. The -a behaviour
16 will become the default in a future release.
17
19 commit-id
20 Either the hash or the filename under [URL]/refs/ to pull.
21
22 -c
23 Get the commit objects.
24
25 -t
26 Get trees associated with the commit objects.
27
28 -a
29 Get all the objects.
30
31 -v
32 Report what is downloaded.
33
34 -w <filename>
35 Writes the commit-id into the filename under
36 $GIT_DIR/refs/<filename> on the local end after the transfer is
37 complete.
38
39 --stdin
40 Instead of a commit id on the command line (which is not expected
41 in this case), git http-fetch expects lines on stdin in the format
42
43 <commit-id>['\t'<filename-as-in--w>]
44
45 --recover
46 Verify that everything reachable from target is fetched. Used after
47 an earlier fetch is interrupted.
48
50 Part of the git(1) suite
51
52
53
54Git 1.8.3.1 11/19/2018 GIT-HTTP-FETCH(1)