GIT\-HTTP\-FETCHSection: Git Manual (1)
Index Return to Main Contents
NAMEgit-http-fetch - Download from a remote git repository via HTTP
SYNOPSISgit-http-fetch [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
DESCRIPTIONDownloads a remote git repository via HTTP.
- Either the hash or the filename under [URL]/refs/ to pull.
- Get the commit objects.
- Get trees associated with the commit objects.
- Get all the objects.
- Report what is downloaded.
- Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on the local end after the transfer is complete.
Instead of a commit id on the command line (which is not expected in this case), git-http-fetch expects lines on stdin in the format
- Verify that everything reachable from target is fetched. Used after an earlier fetch is interrupted.
AUTHORWritten by Linus Torvalds <email@example.com>
DOCUMENTATIONDocumentation by David Greaves, Junio C Hamano and the git-list <firstname.lastname@example.org>.
GITPart of the git(7) suite