[800f6b1] | 1 | <?xml version="1.0" encoding="ISO-8859-1"?>
|
---|
| 2 | <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
|
---|
| 3 | "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
|
---|
| 4 | <!ENTITY % general-entities SYSTEM "../../general.ent">
|
---|
| 5 | %general-entities;
|
---|
| 6 |
|
---|
[a79f8e7] | 7 | <!ENTITY git-root "https://www.kernel.org/pub/software/scm/git" >
|
---|
| 8 |
|
---|
[dba6b4e0] | 9 | <!ENTITY git-download-http "&git-root;/git-&git-version;.tar.xz">
|
---|
[0b42b27] | 10 | <!ENTITY git-download-ftp "ftp://ftp.kernel.org/pub/software/scm/git/git-&git-version;.tar.xz">
|
---|
[aeefbaa] | 11 | <!ENTITY git-md5sum "43815ec043c0ae46c3efa4c8e28feaba">
|
---|
[6e08e9c0] | 12 | <!ENTITY git-size "3.4 MB">
|
---|
[aeefbaa] | 13 | <!ENTITY git-buildsize "209 MB (additional 13 MB for downloaded docs and man pages, or 26 MB building docs and man pages)">
|
---|
| 14 | <!ENTITY git-time "0.7 SBU (additional 8.6 SBU for tests or 2.9 SBU for docs and man build)">
|
---|
[800f6b1] | 15 | ]>
|
---|
| 16 |
|
---|
| 17 | <sect1 id="git" xreflabel="git-&git-version;">
|
---|
| 18 | <?dbhtml filename="git.html"?>
|
---|
| 19 |
|
---|
| 20 | <sect1info>
|
---|
| 21 | <othername>$LastChangedBy$</othername>
|
---|
| 22 | <date>$Date$</date>
|
---|
| 23 | </sect1info>
|
---|
| 24 |
|
---|
| 25 | <title>Git-&git-version;</title>
|
---|
| 26 |
|
---|
| 27 | <indexterm zone="git">
|
---|
[32696a4] | 28 | <primary sortas="a-Git">Git</primary>
|
---|
[800f6b1] | 29 | </indexterm>
|
---|
| 30 |
|
---|
| 31 | <sect2 role="package">
|
---|
| 32 | <title>Introduction to Git</title>
|
---|
| 33 |
|
---|
[32696a4] | 34 | <para>
|
---|
| 35 | <application>Git</application> is a free and open source, distributed
|
---|
| 36 | version control system designed to handle everything from small to very
|
---|
| 37 | large projects with speed and efficiency. Every
|
---|
| 38 | <application>Git</application> clone is a full-fledged repository with
|
---|
| 39 | complete history and full revision tracking capabilities, not dependent on
|
---|
| 40 | network access or a central server. Branching and merging are fast and easy
|
---|
| 41 | to do. <application>Git</application> is used for version control of files,
|
---|
| 42 | much like tools such as <application>Mercurial</application>,
|
---|
| 43 | <application>Bazaar</application>, <xref linkend="subversion"/>,
|
---|
| 44 | <xref linkend="cvs"/>, <application>Perforce</application>, and
|
---|
| 45 | <application>Team Foundation Server</application>.
|
---|
| 46 | </para>
|
---|
[800f6b1] | 47 |
|
---|
[99e99c3] | 48 | &lfs76_checked;
|
---|
[800f6b1] | 49 |
|
---|
| 50 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 51 | <itemizedlist spacing="compact">
|
---|
| 52 | <listitem>
|
---|
[32696a4] | 53 | <para>
|
---|
| 54 | Download (HTTP): <ulink url="&git-download-http;"/>
|
---|
| 55 | </para>
|
---|
[800f6b1] | 56 | </listitem>
|
---|
| 57 | <listitem>
|
---|
[32696a4] | 58 | <para>
|
---|
| 59 | Download (FTP): <ulink url="&git-download-ftp;"/>
|
---|
| 60 | </para>
|
---|
[800f6b1] | 61 | </listitem>
|
---|
| 62 | <listitem>
|
---|
[32696a4] | 63 | <para>
|
---|
| 64 | Download MD5 sum: &git-md5sum;
|
---|
| 65 | </para>
|
---|
[800f6b1] | 66 | </listitem>
|
---|
| 67 | <listitem>
|
---|
[32696a4] | 68 | <para>
|
---|
| 69 | Download size: &git-size;
|
---|
| 70 | </para>
|
---|
[800f6b1] | 71 | </listitem>
|
---|
| 72 | <listitem>
|
---|
[32696a4] | 73 | <para>
|
---|
| 74 | Estimated disk space required: &git-buildsize;
|
---|
| 75 | </para>
|
---|
[800f6b1] | 76 | </listitem>
|
---|
| 77 | <listitem>
|
---|
[32696a4] | 78 | <para>
|
---|
| 79 | Estimated build time: &git-time;
|
---|
| 80 | </para>
|
---|
[800f6b1] | 81 | </listitem>
|
---|
| 82 | </itemizedlist>
|
---|
| 83 |
|
---|
[435934c] | 84 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 85 | <itemizedlist spacing="compact">
|
---|
| 86 | <listitem>
|
---|
[32696a4] | 87 | <para>
|
---|
[a79f8e7] | 88 | <ulink url="&git-root;/git-manpages-&git-version;.tar.xz">
|
---|
[7053ca8] | 89 | &git-root;/git-manpages-&git-version;.tar.xz</ulink>
|
---|
[aaed964] | 90 | (if you prefer the original, not needed if you've installed asciidoc
|
---|
| 91 | and xmlto and prefer to build them).
|
---|
[32696a4] | 92 | </para>
|
---|
[435934c] | 93 | </listitem>
|
---|
| 94 | <listitem>
|
---|
[32696a4] | 95 | <para>
|
---|
[a79f8e7] | 96 | <ulink url="&git-root;/git-htmldocs-&git-version;.tar.xz">
|
---|
[7053ca8] | 97 | &git-root;/git-htmldocs-&git-version;.tar.xz</ulink>
|
---|
[aaed964] | 98 | and other docs (if you prefer the original, not needed if you've
|
---|
| 99 | installed asciidoc and prefer to build them).
|
---|
[32696a4] | 100 | </para>
|
---|
[435934c] | 101 | </listitem>
|
---|
| 102 | </itemizedlist>
|
---|
| 103 |
|
---|
[800f6b1] | 104 | <bridgehead renderas="sect3">Git Dependencies</bridgehead>
|
---|
| 105 |
|
---|
| 106 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[1b2d41b] | 107 | <para role="recommended">
|
---|
[0d7900a] | 108 | <xref linkend="curl"/> (needed to use <application>Git</application> over http,
|
---|
[32696a4] | 109 | https, ftp or ftps),
|
---|
[56605b9] | 110 | <xref linkend="openssl"/>, and
|
---|
[32696a4] | 111 | <xref linkend="python2"/>
|
---|
[1b2d41b] | 112 | </para>
|
---|
[800f6b1] | 113 |
|
---|
| 114 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[1b2d41b] | 115 | <para role="optional">
|
---|
[05ce77a] | 116 | <xref linkend="pcre"/>,
|
---|
| 117 | <xref linkend="subversion"/> with Perl bindings (for <command>git svn</command>), and
|
---|
[1b2d41b] | 118 | <xref linkend="tk"/> (gitk, a simple <application>Git</application>
|
---|
| 119 | repository viewer, uses <application>Tk</application> at runtime)
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <bridgehead renderas="sect4">Optional (to create the man pages and html docs)</bridgehead>
|
---|
| 123 | <para>
|
---|
[fad8db2] | 124 | <xref linkend="xmlto"/> and
|
---|
| 125 | <ulink url="http://www.methods.co.nz/asciidoc/">AsciiDoc</ulink>
|
---|
[1b2d41b] | 126 | </para>
|
---|
[800f6b1] | 127 |
|
---|
| 128 | <para condition="html" role="usernotes">User Notes:
|
---|
[32696a4] | 129 | <ulink url="&blfs-wiki;/git"/>
|
---|
| 130 | </para>
|
---|
[800f6b1] | 131 | </sect2>
|
---|
| 132 |
|
---|
| 133 | <sect2 role="installation">
|
---|
| 134 | <title>Installation of Git</title>
|
---|
| 135 |
|
---|
[32696a4] | 136 | <para>
|
---|
| 137 | Install <application>Git</application> by running the following
|
---|
| 138 | commands:
|
---|
| 139 | </para>
|
---|
[800f6b1] | 140 |
|
---|
[a79f8e7] | 141 | <screen><userinput>./configure --prefix=/usr \
|
---|
[5e5a8d5] | 142 | --with-gitconfig=/etc/gitconfig &&
|
---|
[800f6b1] | 143 | make</userinput></screen>
|
---|
| 144 |
|
---|
[6e08e9c0] | 145 | <para>
|
---|
| 146 | You can build the man pages and/or html docs, or
|
---|
| 147 | use downloaded ones. If you choose to build them, use next two following
|
---|
| 148 | instructions.
|
---|
| 149 | </para>
|
---|
| 150 |
|
---|
[32696a4] | 151 | <para>
|
---|
| 152 | If you have installed <ulink
|
---|
| 153 | url="http://www.methods.co.nz/asciidoc/">AsciiDoc</ulink> you can
|
---|
| 154 | create the html version of the man pages and other docs:
|
---|
| 155 | </para>
|
---|
[800f6b1] | 156 |
|
---|
[65fe9d8] | 157 | <screen><userinput>make html</userinput></screen>
|
---|
[800f6b1] | 158 |
|
---|
[32696a4] | 159 | <para>
|
---|
| 160 | If you have installed <ulink
|
---|
| 161 | url="http://www.methods.co.nz/asciidoc/">AsciiDoc</ulink> and
|
---|
| 162 | <xref linkend="xmlto"/> you can create the man pages:
|
---|
| 163 | </para>
|
---|
[435934c] | 164 |
|
---|
[65fe9d8] | 165 | <screen><userinput>make man</userinput></screen>
|
---|
[435934c] | 166 |
|
---|
[32696a4] | 167 | <para>
|
---|
[e3f97f9] | 168 | The test suite can be run in parallel mode. Many tests cannot find
|
---|
| 169 | <application>GnuPG2</application>, if the compatibility symlinks,
|
---|
| 170 | recommended in <xref linkend="gnupg2"/>, are not installed. To run the
|
---|
| 171 | test suite, issue: <command>make test</command>.
|
---|
[32696a4] | 172 | </para>
|
---|
[800f6b1] | 173 |
|
---|
[32696a4] | 174 | <para>
|
---|
| 175 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 176 | user:
|
---|
| 177 | </para>
|
---|
[800f6b1] | 178 |
|
---|
| 179 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 180 |
|
---|
[6e08e9c0] | 181 | <!-- ==== Method 1 for docs ====== -->
|
---|
| 182 | <bridgehead renderas="sect3">If you created the man pages and/or html docs</bridgehead>
|
---|
| 183 |
|
---|
[32696a4] | 184 | <para>
|
---|
[6e08e9c0] | 185 | Install the man pages as
|
---|
[32696a4] | 186 | <systemitem class="username">root</systemitem> user:
|
---|
| 187 | </para>
|
---|
[800f6b1] | 188 |
|
---|
| 189 | <screen role="root"><userinput>make install-man</userinput></screen>
|
---|
[435934c] | 190 |
|
---|
[32696a4] | 191 | <para>
|
---|
[6e08e9c0] | 192 | Install the html docs as
|
---|
[32696a4] | 193 | <systemitem class="username">root</systemitem> user:
|
---|
| 194 | </para>
|
---|
[435934c] | 195 |
|
---|
[6e08e9c0] | 196 | <screen role="root"><userinput>make htmldir=/usr/share/doc/git-&git-version; install-html</userinput></screen>
|
---|
| 197 |
|
---|
| 198 | <!-- ==== Method 2 for docs ====== -->
|
---|
| 199 | <bridgehead renderas="sect3">If you downloaded the man pages and/or html docs</bridgehead>
|
---|
[435934c] | 200 |
|
---|
[32696a4] | 201 | <para>
|
---|
[6e08e9c0] | 202 | If you downloaded the man pages untar them as the
|
---|
[32696a4] | 203 | <systemitem class="username">root</systemitem> user:
|
---|
| 204 | </para>
|
---|
[435934c] | 205 |
|
---|
[64419b7] | 206 | <screen role="root"><userinput>tar -xf ../git-manpages-&git-version;.tar.xz \
|
---|
| 207 | -C /usr/share/man --no-same-owner --no-overwrite-dir</userinput></screen>
|
---|
[435934c] | 208 |
|
---|
[32696a4] | 209 | <para>
|
---|
| 210 | If you downloaded the html docs untar them as the
|
---|
| 211 | <systemitem class="username">root</systemitem> user:
|
---|
| 212 | </para>
|
---|
[435934c] | 213 |
|
---|
[78a00a4e] | 214 | <screen role="root"><userinput>mkdir -vp /usr/share/doc/git-&git-version; &&
|
---|
| 215 | tar -xf ../git-htmldocs-&git-version;.tar.xz \
|
---|
| 216 | -C /usr/share/doc/git-&git-version; --no-same-owner --no-overwrite-dir &&
|
---|
[0524804] | 217 |
|
---|
[78a00a4e] | 218 | find /usr/share/doc/git-&git-version; -type d -exec chmod 755 {} \; &&
|
---|
| 219 | find /usr/share/doc/git-&git-version; -type f -exec chmod 644 {} \;</userinput></screen>
|
---|
[c4ab33b5] | 220 |
|
---|
[6e08e9c0] | 221 | <!-- ==== Reorganize docs ====== -->
|
---|
| 222 | <bridgehead renderas="sect3">Reorganize man pages and/or html docs (both methods)</bridgehead>
|
---|
| 223 |
|
---|
| 224 | <para>
|
---|
| 225 | For both methods, reorganize the files, as
|
---|
| 226 | <systemitem class="username">root</systemitem> user:
|
---|
| 227 | </para>
|
---|
| 228 |
|
---|
[78a00a4e] | 229 | <screen role="root"><userinput>mkdir -vp /usr/share/doc/git-&git-version;/man-pages/{html,text} &&
|
---|
| 230 | mv /usr/share/doc/git-&git-version;/{git*.txt,man-pages/text} &&
|
---|
| 231 | mv /usr/share/doc/git-&git-version;/{git*.,index.,man-pages/}html &&
|
---|
[64419b7] | 232 |
|
---|
[78a00a4e] | 233 | mkdir -vp /usr/share/doc/git-&git-version;/technical/{html,text} &&
|
---|
| 234 | mv /usr/share/doc/git-&git-version;/technical/{*.txt,text} &&
|
---|
| 235 | mv /usr/share/doc/git-&git-version;/technical/{*.,}html &&
|
---|
| 236 |
|
---|
| 237 | mkdir -vp /usr/share/doc/git-&git-version;/howto/{html,text} &&
|
---|
| 238 | mv /usr/share/doc/git-&git-version;/howto/{*.txt,text} &&
|
---|
| 239 | mv /usr/share/doc/git-&git-version;/howto/{*.,}html</userinput></screen>
|
---|
[32696a4] | 240 |
|
---|
[800f6b1] | 241 | </sect2>
|
---|
| 242 |
|
---|
| 243 | <sect2 role="commands">
|
---|
| 244 | <title>Command Explanations</title>
|
---|
| 245 |
|
---|
[5e5a8d5] | 246 | <para>
|
---|
[35943a41] | 247 | <parameter>--with-gitconfig=/etc/gitconfig</parameter>: This sets
|
---|
[5e5a8d5] | 248 | <filename>/etc/gitconfig</filename> as the file that stores
|
---|
| 249 | the default, system wide, <application>Git</application>
|
---|
| 250 | settings.
|
---|
| 251 | </para>
|
---|
| 252 |
|
---|
[32696a4] | 253 | <para>
|
---|
| 254 | <option>--without-python</option>: Use this switch if
|
---|
| 255 | <application>Python</application> is not installed.
|
---|
| 256 | </para>
|
---|
[435934c] | 257 |
|
---|
[32696a4] | 258 | <para>
|
---|
| 259 | <option>--with-libpcre</option>: Use this switch if
|
---|
| 260 | <application>PCRE</application> is installed.
|
---|
| 261 | </para>
|
---|
[0524804] | 262 |
|
---|
[32696a4] | 263 | <para>
|
---|
| 264 | <command>tar -xf ../git-manpages-&git-version;.tar.gz -C
|
---|
| 265 | /usr/share/man --no-same-owner</command>: This untars
|
---|
| 266 | <filename>git-manpages-&git-version;.tar.gz</filename>. The
|
---|
| 267 | <option>-C</option> option makes tar change directory to
|
---|
| 268 | <filename class="directory">/usr/share/man</filename> before
|
---|
| 269 | it starts to decompress the docs. The <option>--no-same-owner</option>
|
---|
| 270 | option stops tar from preserving the user and group details of the
|
---|
| 271 | files. This is useful as that user or group may not exist on your
|
---|
| 272 | system; this could (potentially) be a security risk.
|
---|
| 273 | </para>
|
---|
[0524804] | 274 |
|
---|
[32696a4] | 275 | <para>
|
---|
| 276 | <command>mv /usr/share/doc/git-&git-version; ...</command>: These
|
---|
| 277 | commands move some of the files into subfolders to make it easier to sort
|
---|
| 278 | through the docs and find what you're looking for.
|
---|
| 279 | </para>
|
---|
[435934c] | 280 |
|
---|
[c4ab33b5] | 281 | <para>
|
---|
| 282 | <command>find ... chmod ...</command>: These commands correct the
|
---|
| 283 | permissions in the shipped documentation tar file.
|
---|
| 284 | </para>
|
---|
| 285 |
|
---|
[800f6b1] | 286 | </sect2>
|
---|
| 287 |
|
---|
| 288 | <sect2 role="configuration">
|
---|
| 289 | <title>Configuring Git</title>
|
---|
| 290 |
|
---|
| 291 | <sect3 id="git-config">
|
---|
| 292 | <title>Config Files</title>
|
---|
[32696a4] | 293 | <para>
|
---|
| 294 | <filename>~/.gitconfig</filename> and
|
---|
| 295 | <filename>/etc/gitconfig</filename>
|
---|
| 296 | </para>
|
---|
[800f6b1] | 297 |
|
---|
| 298 | <indexterm zone="git git-config">
|
---|
| 299 | <primary sortas="e-AA.gitconfig">~/.gitconfig</primary>
|
---|
| 300 | </indexterm>
|
---|
| 301 |
|
---|
| 302 | <indexterm zone="git git-config">
|
---|
| 303 | <primary sortas="e-etc-gitconfig">/etc/gitconfig</primary>
|
---|
| 304 | </indexterm>
|
---|
[32696a4] | 305 |
|
---|
[800f6b1] | 306 | </sect3>
|
---|
| 307 |
|
---|
| 308 | </sect2>
|
---|
| 309 |
|
---|
| 310 | <sect2 role="content">
|
---|
| 311 | <title>Contents</title>
|
---|
| 312 |
|
---|
| 313 | <segmentedlist>
|
---|
| 314 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 315 | <segtitle>Installed Libraries</segtitle>
|
---|
[800f6b1] | 316 | <segtitle>Installed Directories</segtitle>
|
---|
| 317 |
|
---|
| 318 | <seglistitem>
|
---|
[32696a4] | 319 | <seg>
|
---|
[a79f8e7] | 320 | git, git-receive-pack and git-upload-archive (hardlinked to each other),
|
---|
| 321 | git-shell, git-cvsserver, git-upload-pack, and gitk
|
---|
[32696a4] | 322 | </seg>
|
---|
| 323 | <seg>
|
---|
| 324 | None
|
---|
| 325 | </seg>
|
---|
| 326 | <seg>
|
---|
[67bd7d46] | 327 | /usr/libexec/git-core,
|
---|
[32696a4] | 328 | /usr/share/doc/git-&git-version;,
|
---|
| 329 | /usr/share/git-core,
|
---|
| 330 | /usr/share/git-gui,
|
---|
[a79f8e7] | 331 | /usr/share/gitk,
|
---|
[39794fb2] | 332 | /usr/share/gitweb,
|
---|
[f346a49] | 333 | /usr/lib/perl5/site_perl/<5.x.y>/Git and
|
---|
[39794fb2] | 334 | /usr/lib/perl5/site_perl/&lfs-perl-version;/auto/Git
|
---|
[a79f8e7] | 335 |
|
---|
[32696a4] | 336 | </seg>
|
---|
[800f6b1] | 337 | </seglistitem>
|
---|
| 338 | </segmentedlist>
|
---|
| 339 |
|
---|
| 340 | <variablelist>
|
---|
| 341 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 342 | <?dbfo list-presentation="list"?>
|
---|
| 343 | <?dbhtml list-presentation="table"?>
|
---|
| 344 |
|
---|
| 345 | <varlistentry id="git-prog">
|
---|
| 346 | <term><command>git</command></term>
|
---|
| 347 | <listitem>
|
---|
[32696a4] | 348 | <para>
|
---|
| 349 | is the stupid content tracker.
|
---|
| 350 | </para>
|
---|
[800f6b1] | 351 | <indexterm zone="git git-prog">
|
---|
| 352 | <primary sortas="b-git">git</primary>
|
---|
| 353 | </indexterm>
|
---|
| 354 | </listitem>
|
---|
| 355 | </varlistentry>
|
---|
| 356 |
|
---|
| 357 | <varlistentry id="git-cvsserver">
|
---|
| 358 | <term><command>git-cvsserver</command></term>
|
---|
| 359 | <listitem>
|
---|
[32696a4] | 360 | <para>
|
---|
| 361 | is a CVS server emulator for <application>Git</application>.
|
---|
| 362 | </para>
|
---|
[800f6b1] | 363 | <indexterm zone="git git-cvsserver">
|
---|
| 364 | <primary sortas="b-git-cvsserver">git-cvsserver</primary>
|
---|
| 365 | </indexterm>
|
---|
| 366 | </listitem>
|
---|
| 367 | </varlistentry>
|
---|
| 368 |
|
---|
| 369 | <varlistentry id="gitk">
|
---|
| 370 | <term><command>gitk</command></term>
|
---|
| 371 | <listitem>
|
---|
[32696a4] | 372 | <para>
|
---|
[a79f8e7] | 373 | is a graphical <application>Git</application> repository browser
|
---|
| 374 | (needs <xref linkend="tk"/>).
|
---|
[32696a4] | 375 | </para>
|
---|
[800f6b1] | 376 | <indexterm zone="git gitk">
|
---|
| 377 | <primary sortas="b-gitk">gitk</primary>
|
---|
| 378 | </indexterm>
|
---|
| 379 | </listitem>
|
---|
| 380 | </varlistentry>
|
---|
| 381 |
|
---|
| 382 | <varlistentry id="git-receive-pack">
|
---|
| 383 | <term><command>git-receive-pack</command></term>
|
---|
| 384 | <listitem>
|
---|
[32696a4] | 385 | <para>
|
---|
| 386 | is invoked by <command>git send-pack</command> and updates the
|
---|
| 387 | repository with the information fed from the remote end.
|
---|
| 388 | </para>
|
---|
[800f6b1] | 389 | <indexterm zone="git git-receive-pack">
|
---|
| 390 | <primary sortas="b-git-receive-pack">git-receive-pack</primary>
|
---|
| 391 | </indexterm>
|
---|
| 392 | </listitem>
|
---|
| 393 | </varlistentry>
|
---|
| 394 |
|
---|
| 395 | <varlistentry id="git-shell">
|
---|
| 396 | <term><command>git-shell</command></term>
|
---|
| 397 | <listitem>
|
---|
[32696a4] | 398 | <para>
|
---|
| 399 | is a login shell for SSH accounts to provide restricted Git
|
---|
| 400 | access.
|
---|
| 401 | </para>
|
---|
[800f6b1] | 402 | <indexterm zone="git git-shell">
|
---|
| 403 | <primary sortas="b-git-shell">git-shell</primary>
|
---|
| 404 | </indexterm>
|
---|
| 405 | </listitem>
|
---|
| 406 | </varlistentry>
|
---|
| 407 |
|
---|
| 408 | <varlistentry id="git-upload-archive">
|
---|
| 409 | <term><command>git-upload-archive</command></term>
|
---|
| 410 | <listitem>
|
---|
[32696a4] | 411 | <para>
|
---|
| 412 | is invoked by <command>git archive --remote</command> and sends
|
---|
| 413 | a generated archive to the other end over the git protocol.
|
---|
| 414 | </para>
|
---|
[800f6b1] | 415 | <indexterm zone="git git-upload-archive">
|
---|
| 416 | <primary sortas="b-git-upload-archive">git-upload-archive</primary>
|
---|
| 417 | </indexterm>
|
---|
| 418 | </listitem>
|
---|
| 419 | </varlistentry>
|
---|
| 420 |
|
---|
| 421 | <varlistentry id="git-upload-pack">
|
---|
| 422 | <term><command>git-upload-pack</command></term>
|
---|
| 423 | <listitem>
|
---|
[32696a4] | 424 | <para>
|
---|
| 425 | is invoked by <command>git fetch-pack</command>, it discovers
|
---|
| 426 | what objects the other side is missing, and sends them after
|
---|
| 427 | packing.
|
---|
| 428 | </para>
|
---|
[800f6b1] | 429 | <indexterm zone="git git-upload-pack">
|
---|
| 430 | <primary sortas="b-git-upload-pack">git-upload-pack</primary>
|
---|
| 431 | </indexterm>
|
---|
| 432 | </listitem>
|
---|
| 433 | </varlistentry>
|
---|
[32696a4] | 434 |
|
---|
[800f6b1] | 435 | </variablelist>
|
---|
[32696a4] | 436 |
|
---|
[800f6b1] | 437 | </sect2>
|
---|
[32696a4] | 438 |
|
---|
[800f6b1] | 439 | </sect1>
|
---|