X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=Documentation%2Fgit-http-fetch.txt;h=45e48453a17d70c559cbc65477cad6610abc5928;hb=660d579d6ff0ac29b8f7b38b3da73f09214d39aa;hp=088624f6cc47c8ce2f72704d2d30d65248956204;hpb=069b20a198f171512a1d2d2163b40f70c94f5257;p=git.git diff --git a/Documentation/git-http-fetch.txt b/Documentation/git-http-fetch.txt index 088624f6c..45e48453a 100644 --- a/Documentation/git-http-fetch.txt +++ b/Documentation/git-http-fetch.txt @@ -3,17 +3,23 @@ git-http-fetch(1) NAME ---- -git-http-fetch - Downloads a remote git repository via HTTP +git-http-fetch - Download from a remote git repository via HTTP SYNOPSIS -------- -'git-http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] commit-id url +'git-http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] DESCRIPTION ----------- Downloads a remote git repository via HTTP. +OPTIONS +------- +commit-id:: + Either the hash or the filename under [URL]/refs/ to + pull. + -c:: Get the commit objects. -t:: @@ -27,6 +33,16 @@ Downloads a remote git repository via HTTP. Writes the commit-id into the filename under $GIT_DIR/refs/ on the local end after the transfer is complete. +--stdin:: + Instead of a commit id on the commandline (which is not expected in this + case), 'git-http-fetch' expects lines on stdin in the format + + ['\t'] + +--recover:: + Verify that everything reachable from target is fetched. Used after + an earlier fetch is interrupted. + Author ------ Written by Linus Torvalds @@ -38,4 +54,3 @@ Documentation by David Greaves, Junio C Hamano and the git-list