1 <?xml version="1.0" encoding="UTF-8"?>
\r
2 <!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN" "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd">
\r
4 <article lang="en" id="git-http-fetch(1)">
\r
6 <title>git-http-fetch(1)</title>
\r
8 <primary>git-http-fetch(1)</primary>
\r
11 <simplesect id="_name">
\r
13 <simpara>git-http-fetch - Download from a remote git repository via HTTP</simpara>
\r
15 <simplesect id="_synopsis">
\r
16 <title>SYNOPSIS</title>
\r
18 <literallayout><emphasis>git http-fetch</emphasis> [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] <commit> <url></literallayout>
\r
21 <simplesect id="_description">
\r
22 <title>DESCRIPTION</title>
\r
23 <simpara>Downloads a remote git repository via HTTP.</simpara>
\r
24 <simpara><emphasis role="strong">NOTE</emphasis>: use of this command without -a is deprecated. The -a
\r
25 behaviour will become the default in a future release.</simpara>
\r
27 <simplesect id="_options">
\r
28 <title>OPTIONS</title>
\r
36 Either the hash or the filename under [URL]/refs/ to
\r
47 Get the commit objects.
\r
57 Get trees associated with the commit objects.
\r
67 Get all the objects.
\r
77 Report what is downloaded.
\r
87 Writes the commit-id into the filename under $GIT_DIR/refs/<filename> on
\r
88 the local end after the transfer is complete.
\r
98 Instead of a commit id on the command line (which is not expected in this
\r
99 case), <emphasis>git http-fetch</emphasis> expects lines on stdin in the format
\r
101 <literallayout class="monospaced"><commit-id>['\t'<filename-as-in--w>]</literallayout>
\r
110 Verify that everything reachable from target is fetched. Used after
\r
111 an earlier fetch is interrupted.
\r
117 <simplesect id="_git">
\r
119 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
\r