2005-09-08 04:26:23 +04:00
|
|
|
git-http-fetch(1)
|
|
|
|
=================
|
2005-05-11 01:32:30 +04:00
|
|
|
|
|
|
|
NAME
|
|
|
|
----
|
2013-01-21 23:17:53 +04:00
|
|
|
git-http-fetch - Download from a remote Git repository via HTTP
|
2005-05-11 01:32:30 +04:00
|
|
|
|
|
|
|
|
|
|
|
SYNOPSIS
|
|
|
|
--------
|
2011-07-02 06:38:26 +04:00
|
|
|
[verse]
|
2008-06-30 10:09:04 +04:00
|
|
|
'git http-fetch' [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url>
|
2005-05-11 01:32:30 +04:00
|
|
|
|
|
|
|
DESCRIPTION
|
|
|
|
-----------
|
2013-01-21 23:17:53 +04:00
|
|
|
Downloads a remote Git repository via HTTP.
|
2005-05-11 01:32:30 +04:00
|
|
|
|
2011-08-24 04:29:51 +04:00
|
|
|
*NOTE*: use of this command without -a is deprecated. The -a
|
|
|
|
behaviour will become the default in a future release.
|
|
|
|
|
2005-12-09 02:28:05 +03:00
|
|
|
OPTIONS
|
|
|
|
-------
|
|
|
|
commit-id::
|
|
|
|
Either the hash or the filename under [URL]/refs/ to
|
|
|
|
pull.
|
|
|
|
|
2005-05-11 01:32:30 +04: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 19:05:02 +04:00
|
|
|
|
|
|
|
-w <filename>::
|
|
|
|
Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
|
2005-06-25 13:25:57 +04:00
|
|
|
the local end after the transfer is complete.
|
2005-05-11 01:32:30 +04:00
|
|
|
|
2006-07-28 01:56:22 +04:00
|
|
|
--stdin::
|
2007-08-24 04:44:13 +04:00
|
|
|
Instead of a commit id on the command line (which is not expected in this
|
2010-01-10 02:33:00 +03:00
|
|
|
case), 'git http-fetch' expects lines on stdin in the format
|
2006-07-28 01:56:22 +04:00
|
|
|
|
|
|
|
<commit-id>['\t'<filename-as-in--w>]
|
|
|
|
|
2007-04-27 08:59:02 +04:00
|
|
|
--recover::
|
|
|
|
Verify that everything reachable from target is fetched. Used after
|
|
|
|
an earlier fetch is interrupted.
|
|
|
|
|
2005-05-11 01:32:30 +04:00
|
|
|
GIT
|
|
|
|
---
|
2008-06-06 11:07:32 +04:00
|
|
|
Part of the linkgit:git[1] suite
|