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