updated git doc
[TortoiseGit.git] / doc / source / en / TortoiseGit / git_doc / git-http-fetch.xml
blob4669d31161ba797caa2259fd30598dbbd4d83c88
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
3 \r
4 <article lang="en" id="git-http-fetch(1)">\r
5 <articleinfo>\r
6     <title>git-http-fetch(1)</title>\r
7 <indexterm>\r
8 <primary>git-http-fetch(1)</primary>\r
9 </indexterm>\r
10 </articleinfo>\r
11 <simplesect id="_name">\r
12 <title>NAME</title>\r
13 <simpara>git-http-fetch - Download from a remote git repository via HTTP</simpara>\r
14 </simplesect>\r
15 <simplesect id="_synopsis">\r
16 <title>SYNOPSIS</title>\r
17 <blockquote>\r
18 <literallayout><emphasis>git http-fetch</emphasis> [-c] [-t] [-a] [-d] [-v] [-w filename] [--recover] [--stdin] &lt;commit&gt; &lt;url&gt;</literallayout>\r
19 </blockquote>\r
20 </simplesect>\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
26 </simplesect>\r
27 <simplesect id="_options">\r
28 <title>OPTIONS</title>\r
29 <variablelist>\r
30 <varlistentry>\r
31 <term>\r
32 commit-id\r
33 </term>\r
34 <listitem>\r
35 <simpara>\r
36         Either the hash or the filename under [URL]/refs/ to\r
37         pull.\r
38 </simpara>\r
39 </listitem>\r
40 </varlistentry>\r
41 <varlistentry>\r
42 <term>\r
43 -c\r
44 </term>\r
45 <listitem>\r
46 <simpara>\r
47         Get the commit objects.\r
48 </simpara>\r
49 </listitem>\r
50 </varlistentry>\r
51 <varlistentry>\r
52 <term>\r
53 -t\r
54 </term>\r
55 <listitem>\r
56 <simpara>\r
57         Get trees associated with the commit objects.\r
58 </simpara>\r
59 </listitem>\r
60 </varlistentry>\r
61 <varlistentry>\r
62 <term>\r
63 -a\r
64 </term>\r
65 <listitem>\r
66 <simpara>\r
67         Get all the objects.\r
68 </simpara>\r
69 </listitem>\r
70 </varlistentry>\r
71 <varlistentry>\r
72 <term>\r
73 -v\r
74 </term>\r
75 <listitem>\r
76 <simpara>\r
77         Report what is downloaded.\r
78 </simpara>\r
79 </listitem>\r
80 </varlistentry>\r
81 <varlistentry>\r
82 <term>\r
83 -w &lt;filename&gt;\r
84 </term>\r
85 <listitem>\r
86 <simpara>\r
87         Writes the commit-id into the filename under $GIT_DIR/refs/&lt;filename&gt; on\r
88         the local end after the transfer is complete.\r
89 </simpara>\r
90 </listitem>\r
91 </varlistentry>\r
92 <varlistentry>\r
93 <term>\r
94 --stdin\r
95 </term>\r
96 <listitem>\r
97 <simpara>\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
100 </simpara>\r
101 <literallayout class="monospaced">&lt;commit-id&gt;['\t'&lt;filename-as-in--w&gt;]</literallayout>\r
102 </listitem>\r
103 </varlistentry>\r
104 <varlistentry>\r
105 <term>\r
106 --recover\r
107 </term>\r
108 <listitem>\r
109 <simpara>\r
110         Verify that everything reachable from target is fetched.  Used after\r
111         an earlier fetch is interrupted.\r
112 </simpara>\r
113 </listitem>\r
114 </varlistentry>\r
115 </variablelist>\r
116 </simplesect>\r
117 <simplesect id="_git">\r
118 <title>GIT</title>\r
119 <simpara>Part of the <xref linkend="git(1)" /> suite</simpara>\r
120 </simplesect>\r
121 </article>\r