2005-09-08 08:26:23 +08:00
|
|
|
git-http-fetch(1)
|
|
|
|
=================
|
2005-05-11 05:32:30 +08:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2007-01-19 07:53:37 +08:00
|
|
|
git-http-fetch - Download from a remote git repository via HTTP
|
2005-05-11 05:32:30 +08:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2008-06-30 14:09:04 +08:00
|
|
|
'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
|
2005-05-11 05:32:30 +08:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2005-10-11 07:01:31 +08:00
|
|
|
Downloads a remote git repository via HTTP.
|
2005-05-11 05:32:30 +08:00
|
|
|
|
2005-12-09 07:28:05 +08:00
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
commit-id::
|
|
|
|
Either the hash or the filename under [URL]/refs/ to
|
|
|
|
pull.
|
|
|
|
|
2005-05-11 05:32:30 +08:00
|
|
|
-c::
|
|
|
|
Get the commit objects.
|
|
|
|
-t::
|
|
|
|
Get trees associated with the commit objects.
|
|
|
|
-a::
|
|
|
|
Get all the objects.
|
|
|
|
-v::
|
|
|
|
Report what is downloaded.
|
2005-08-05 23:05:02 +08:00
|
|
|
|
|
|
|
-w <filename>::
|
|
|
|
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
|
2005-06-25 17:25:57 +08:00
|
|
|
the local end after the transfer is complete.
|
2005-05-11 05:32:30 +08:00
|
|
|
|
2006-07-28 05:56:22 +08:00
|
|
|
--stdin::
|
2007-08-24 08:44:13 +08:00
|
|
|
Instead of a commit id on the command line (which is not expected in this
|
2010-01-10 07:33:00 +08:00
|
|
|
case), 'git http-fetch' expects lines on stdin in the format
|
2006-07-28 05:56:22 +08:00
|
|
|
|
|
|
|
<commit-id>['\t'<filename-as-in--w>]
|
|
|
|
|
2007-04-27 12:59:02 +08:00
|
|
|
--recover::
|
|
|
|
Verify that everything reachable from target is fetched. Used after
|
|
|
|
an earlier fetch is interrupted.
|
|
|
|
|
2005-05-11 05:32:30 +08:00
|
|
|
Author
|
|
|
|
------
|
|
|
|
Written by Linus Torvalds <torvalds@osdl.org>
|
|
|
|
|
|
|
|
Documentation
|
|
|
|
--------------
|
|
|
|
Documentation by David Greaves, Junio C Hamano and the git-list <git@vger.kernel.org>.
|
|
|
|
|
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 15:07:32 +08:00
|
|
|
Part of the linkgit:git[1] suite
|