6 git-http-fetch - Download from a remote Git repository via HTTP
12 'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin | --packfile=<hash> | <commit>] <url>
16 Downloads a remote Git repository via HTTP.
18 This command always gets all objects. Historically, there were three options
19 `-a`, `-c` and `-t` for choosing which objects to download. They are now
25 Either the hash or the filename under [URL]/refs/ to
29 These options are ignored for historical reasons.
31 Report what is downloaded.
34 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
35 the local end after the transfer is complete.
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
41 <commit-id>['\t'<filename-as-in--w>]
44 Instead of a commit id on the command line (which is not expected in
45 this case), 'git http-fetch' fetches the packfile directly at the given
46 URL and uses index-pack to generate corresponding .idx and .keep files.
47 The hash is used to determine the name of the temporary file and is
48 arbitrary. The output of index-pack is printed to stdout.
51 Verify that everything reachable from target is fetched. Used after
52 an earlier fetch is interrupted.
56 Part of the linkgit:git[1] suite