[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">
|
---|
[51e99a0e] | 11 | <!ENTITY git-md5sum "b8edb4ae34828fda6aa2a4478089b107">
|
---|
[5e8e211e] | 12 | <!ENTITY git-size "3.8 MB">
|
---|
[51e99a0e] | 13 | <!ENTITY git-buildsize "375 MB (including the pre-built documentation)">
|
---|
| 14 | <!ENTITY git-time "0.8 SBU (add 2.6 SBU for building documentation, add 4.3 SBU for tests)">
|
---|
[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
|
---|
[bdf19997] | 39 | complete history and full revision tracking capabilities, not dependent
|
---|
| 40 | on network access or a central server. Branching and merging are fast and
|
---|
| 41 | easy to do. <application>Git</application> is used for version control of
|
---|
[9276b6ee] | 42 | files, much like tools such as <xref linkend="mercurial"/>,
|
---|
[32696a4] | 43 | <application>Bazaar</application>, <xref linkend="subversion"/>,
|
---|
[d1c51434] | 44 | <ulink url="http://www.nongnu.org/cvs/">CVS</ulink>,
|
---|
| 45 | <application>Perforce</application>, and
|
---|
[32696a4] | 46 | <application>Team Foundation Server</application>.
|
---|
| 47 | </para>
|
---|
[800f6b1] | 48 |
|
---|
[366fcd03] | 49 | &lfs79_checked;
|
---|
[800f6b1] | 50 |
|
---|
| 51 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 52 | <itemizedlist spacing="compact">
|
---|
| 53 | <listitem>
|
---|
[32696a4] | 54 | <para>
|
---|
| 55 | Download (HTTP): <ulink url="&git-download-http;"/>
|
---|
| 56 | </para>
|
---|
[800f6b1] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[32696a4] | 59 | <para>
|
---|
| 60 | Download (FTP): <ulink url="&git-download-ftp;"/>
|
---|
| 61 | </para>
|
---|
[800f6b1] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[32696a4] | 64 | <para>
|
---|
| 65 | Download MD5 sum: &git-md5sum;
|
---|
| 66 | </para>
|
---|
[800f6b1] | 67 | </listitem>
|
---|
| 68 | <listitem>
|
---|
[32696a4] | 69 | <para>
|
---|
| 70 | Download size: &git-size;
|
---|
| 71 | </para>
|
---|
[800f6b1] | 72 | </listitem>
|
---|
| 73 | <listitem>
|
---|
[32696a4] | 74 | <para>
|
---|
| 75 | Estimated disk space required: &git-buildsize;
|
---|
| 76 | </para>
|
---|
[800f6b1] | 77 | </listitem>
|
---|
| 78 | <listitem>
|
---|
[32696a4] | 79 | <para>
|
---|
| 80 | Estimated build time: &git-time;
|
---|
| 81 | </para>
|
---|
[800f6b1] | 82 | </listitem>
|
---|
| 83 | </itemizedlist>
|
---|
| 84 |
|
---|
[435934c] | 85 | <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
---|
| 86 | <itemizedlist spacing="compact">
|
---|
| 87 | <listitem>
|
---|
[32696a4] | 88 | <para>
|
---|
[a79f8e7] | 89 | <ulink url="&git-root;/git-manpages-&git-version;.tar.xz">
|
---|
[7053ca8] | 90 | &git-root;/git-manpages-&git-version;.tar.xz</ulink>
|
---|
[9faa23b6] | 91 | (if you prefer the original, not needed if you've installed
|
---|
| 92 | <xref linkend="asciidoc"/> and <xref linkend="xmlto"/>
|
---|
| 93 | prefer to build them).
|
---|
[32696a4] | 94 | </para>
|
---|
[435934c] | 95 | </listitem>
|
---|
| 96 | <listitem>
|
---|
[32696a4] | 97 | <para>
|
---|
[a79f8e7] | 98 | <ulink url="&git-root;/git-htmldocs-&git-version;.tar.xz">
|
---|
[7053ca8] | 99 | &git-root;/git-htmldocs-&git-version;.tar.xz</ulink>
|
---|
[aaed964] | 100 | and other docs (if you prefer the original, not needed if you've
|
---|
[9faa23b6] | 101 | installed <xref linkend="asciidoc"/> and prefer to build them).
|
---|
[32696a4] | 102 | </para>
|
---|
[435934c] | 103 | </listitem>
|
---|
| 104 | </itemizedlist>
|
---|
| 105 |
|
---|
[800f6b1] | 106 | <bridgehead renderas="sect3">Git Dependencies</bridgehead>
|
---|
| 107 |
|
---|
| 108 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
[1b2d41b] | 109 | <para role="recommended">
|
---|
[0d7900a] | 110 | <xref linkend="curl"/> (needed to use <application>Git</application> over http,
|
---|
[32696a4] | 111 | https, ftp or ftps),
|
---|
[56605b9] | 112 | <xref linkend="openssl"/>, and
|
---|
[32696a4] | 113 | <xref linkend="python2"/>
|
---|
[1b2d41b] | 114 | </para>
|
---|
[800f6b1] | 115 |
|
---|
| 116 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[1b2d41b] | 117 | <para role="optional">
|
---|
[05ce77a] | 118 | <xref linkend="pcre"/>,
|
---|
[f9f13ae] | 119 | <xref linkend="subversion"/> with Perl bindings (for <command>git svn</command>),
|
---|
[1b2d41b] | 120 | <xref linkend="tk"/> (gitk, a simple <application>Git</application>
|
---|
[f9f13ae] | 121 | repository viewer, uses <application>Tk</application> at runtime), and
|
---|
| 122 | <xref linkend="valgrind"/>
|
---|
[1b2d41b] | 123 | </para>
|
---|
| 124 |
|
---|
[28814022] | 125 | <bridgehead renderas="sect4">Optional (to create the man pages, html docs
|
---|
| 126 | and other docs)</bridgehead>
|
---|
[1b2d41b] | 127 | <para>
|
---|
[fad8db2] | 128 | <xref linkend="xmlto"/> and
|
---|
[9faa23b6] | 129 | <xref linkend="asciidoc"/> or
|
---|
[28814022] | 130 | <ulink url="http://asciidoctor.org/">AsciiDoctor</ulink>, and also
|
---|
| 131 | <ulink url="http://dblatex.sourceforge.net/">dblatex</ulink>
|
---|
| 132 | (for the PDF version of the user manual), and
|
---|
| 133 | <ulink url="http://docbook2x.sourceforge.net/">docbook2x</ulink> to
|
---|
| 134 | create info pages
|
---|
[1b2d41b] | 135 | </para>
|
---|
[800f6b1] | 136 |
|
---|
| 137 | <para condition="html" role="usernotes">User Notes:
|
---|
[32696a4] | 138 | <ulink url="&blfs-wiki;/git"/>
|
---|
| 139 | </para>
|
---|
[800f6b1] | 140 | </sect2>
|
---|
| 141 |
|
---|
| 142 | <sect2 role="installation">
|
---|
| 143 | <title>Installation of Git</title>
|
---|
| 144 |
|
---|
[32696a4] | 145 | <para>
|
---|
| 146 | Install <application>Git</application> by running the following
|
---|
| 147 | commands:
|
---|
| 148 | </para>
|
---|
[800f6b1] | 149 |
|
---|
[bdf19997] | 150 | <screen><userinput>./configure --prefix=/usr --with-gitconfig=/etc/gitconfig &&
|
---|
[800f6b1] | 151 | make</userinput></screen>
|
---|
| 152 |
|
---|
[6e08e9c0] | 153 | <para>
|
---|
| 154 | You can build the man pages and/or html docs, or
|
---|
| 155 | use downloaded ones. If you choose to build them, use next two following
|
---|
| 156 | instructions.
|
---|
| 157 | </para>
|
---|
| 158 |
|
---|
[32696a4] | 159 | <para>
|
---|
[9faa23b6] | 160 | If you have installed <xref linkend="asciidoc"/> you can
|
---|
[32696a4] | 161 | create the html version of the man pages and other docs:
|
---|
| 162 | </para>
|
---|
[800f6b1] | 163 |
|
---|
[65fe9d8] | 164 | <screen><userinput>make html</userinput></screen>
|
---|
[800f6b1] | 165 |
|
---|
[32696a4] | 166 | <para>
|
---|
[9faa23b6] | 167 | If you have installed <xref linkend="asciidoc"/> and
|
---|
[32696a4] | 168 | <xref linkend="xmlto"/> you can create the man pages:
|
---|
| 169 | </para>
|
---|
[435934c] | 170 |
|
---|
[65fe9d8] | 171 | <screen><userinput>make man</userinput></screen>
|
---|
[435934c] | 172 |
|
---|
[32696a4] | 173 | <para>
|
---|
[28814022] | 174 | The test suite can be run in parallel mode. To run the test suite, issue:
|
---|
| 175 | <command>make test</command>. If run as a normal user, 0 tests should be
|
---|
| 176 | reported as failed in the final summary.
|
---|
[32696a4] | 177 | </para>
|
---|
[800f6b1] | 178 |
|
---|
[32696a4] | 179 | <para>
|
---|
| 180 | Now, as the <systemitem class="username">root</systemitem>
|
---|
| 181 | user:
|
---|
| 182 | </para>
|
---|
[800f6b1] | 183 |
|
---|
| 184 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 185 |
|
---|
[6e08e9c0] | 186 | <!-- ==== Method 1 for docs ====== -->
|
---|
| 187 | <bridgehead renderas="sect3">If you created the man pages and/or html docs</bridgehead>
|
---|
| 188 |
|
---|
[32696a4] | 189 | <para>
|
---|
[6e08e9c0] | 190 | Install the man pages as
|
---|
[32696a4] | 191 | <systemitem class="username">root</systemitem> user:
|
---|
| 192 | </para>
|
---|
[800f6b1] | 193 |
|
---|
| 194 | <screen role="root"><userinput>make install-man</userinput></screen>
|
---|
[435934c] | 195 |
|
---|
[32696a4] | 196 | <para>
|
---|
[6e08e9c0] | 197 | Install the html docs as
|
---|
[32696a4] | 198 | <systemitem class="username">root</systemitem> user:
|
---|
| 199 | </para>
|
---|
[435934c] | 200 |
|
---|
[6e08e9c0] | 201 | <screen role="root"><userinput>make htmldir=/usr/share/doc/git-&git-version; install-html</userinput></screen>
|
---|
| 202 |
|
---|
| 203 | <!-- ==== Method 2 for docs ====== -->
|
---|
| 204 | <bridgehead renderas="sect3">If you downloaded the man pages and/or html docs</bridgehead>
|
---|
[435934c] | 205 |
|
---|
[32696a4] | 206 | <para>
|
---|
[6e08e9c0] | 207 | If you downloaded the man pages untar them as the
|
---|
[32696a4] | 208 | <systemitem class="username">root</systemitem> user:
|
---|
| 209 | </para>
|
---|
[435934c] | 210 |
|
---|
[64419b7] | 211 | <screen role="root"><userinput>tar -xf ../git-manpages-&git-version;.tar.xz \
|
---|
| 212 | -C /usr/share/man --no-same-owner --no-overwrite-dir</userinput></screen>
|
---|
[435934c] | 213 |
|
---|
[32696a4] | 214 | <para>
|
---|
| 215 | If you downloaded the html docs untar them as the
|
---|
| 216 | <systemitem class="username">root</systemitem> user:
|
---|
| 217 | </para>
|
---|
[435934c] | 218 |
|
---|
[78a00a4e] | 219 | <screen role="root"><userinput>mkdir -vp /usr/share/doc/git-&git-version; &&
|
---|
| 220 | tar -xf ../git-htmldocs-&git-version;.tar.xz \
|
---|
| 221 | -C /usr/share/doc/git-&git-version; --no-same-owner --no-overwrite-dir &&
|
---|
[0524804] | 222 |
|
---|
[78a00a4e] | 223 | find /usr/share/doc/git-&git-version; -type d -exec chmod 755 {} \; &&
|
---|
| 224 | find /usr/share/doc/git-&git-version; -type f -exec chmod 644 {} \;</userinput></screen>
|
---|
[c4ab33b5] | 225 |
|
---|
[6e08e9c0] | 226 | <!-- ==== Reorganize docs ====== -->
|
---|
[28814022] | 227 | <bridgehead renderas="sect3">Reorganize text and html in the html-docs (both methods)</bridgehead>
|
---|
[6e08e9c0] | 228 |
|
---|
| 229 | <para>
|
---|
[28814022] | 230 | For both methods, the html-docs include a lot of plain text files.
|
---|
| 231 | Reorganize the files as the
|
---|
[6e08e9c0] | 232 | <systemitem class="username">root</systemitem> user:
|
---|
| 233 | </para>
|
---|
| 234 |
|
---|
[78a00a4e] | 235 | <screen role="root"><userinput>mkdir -vp /usr/share/doc/git-&git-version;/man-pages/{html,text} &&
|
---|
| 236 | mv /usr/share/doc/git-&git-version;/{git*.txt,man-pages/text} &&
|
---|
| 237 | mv /usr/share/doc/git-&git-version;/{git*.,index.,man-pages/}html &&
|
---|
[64419b7] | 238 |
|
---|
[78a00a4e] | 239 | mkdir -vp /usr/share/doc/git-&git-version;/technical/{html,text} &&
|
---|
| 240 | mv /usr/share/doc/git-&git-version;/technical/{*.txt,text} &&
|
---|
| 241 | mv /usr/share/doc/git-&git-version;/technical/{*.,}html &&
|
---|
| 242 |
|
---|
| 243 | mkdir -vp /usr/share/doc/git-&git-version;/howto/{html,text} &&
|
---|
| 244 | mv /usr/share/doc/git-&git-version;/howto/{*.txt,text} &&
|
---|
| 245 | mv /usr/share/doc/git-&git-version;/howto/{*.,}html</userinput></screen>
|
---|
[32696a4] | 246 |
|
---|
[800f6b1] | 247 | </sect2>
|
---|
| 248 |
|
---|
| 249 | <sect2 role="commands">
|
---|
| 250 | <title>Command Explanations</title>
|
---|
| 251 |
|
---|
[5e5a8d5] | 252 | <para>
|
---|
[35943a41] | 253 | <parameter>--with-gitconfig=/etc/gitconfig</parameter>: This sets
|
---|
[5e5a8d5] | 254 | <filename>/etc/gitconfig</filename> as the file that stores
|
---|
| 255 | the default, system wide, <application>Git</application>
|
---|
| 256 | settings.
|
---|
| 257 | </para>
|
---|
| 258 |
|
---|
[32696a4] | 259 | <para>
|
---|
| 260 | <option>--without-python</option>: Use this switch if
|
---|
| 261 | <application>Python</application> is not installed.
|
---|
| 262 | </para>
|
---|
[435934c] | 263 |
|
---|
[32696a4] | 264 | <para>
|
---|
| 265 | <option>--with-libpcre</option>: Use this switch if
|
---|
| 266 | <application>PCRE</application> is installed.
|
---|
| 267 | </para>
|
---|
[0524804] | 268 |
|
---|
[32696a4] | 269 | <para>
|
---|
| 270 | <command>tar -xf ../git-manpages-&git-version;.tar.gz -C
|
---|
| 271 | /usr/share/man --no-same-owner</command>: This untars
|
---|
| 272 | <filename>git-manpages-&git-version;.tar.gz</filename>. The
|
---|
| 273 | <option>-C</option> option makes tar change directory to
|
---|
| 274 | <filename class="directory">/usr/share/man</filename> before
|
---|
| 275 | it starts to decompress the docs. The <option>--no-same-owner</option>
|
---|
| 276 | option stops tar from preserving the user and group details of the
|
---|
| 277 | files. This is useful as that user or group may not exist on your
|
---|
| 278 | system; this could (potentially) be a security risk.
|
---|
| 279 | </para>
|
---|
[0524804] | 280 |
|
---|
[32696a4] | 281 | <para>
|
---|
| 282 | <command>mv /usr/share/doc/git-&git-version; ...</command>: These
|
---|
| 283 | commands move some of the files into subfolders to make it easier to sort
|
---|
| 284 | through the docs and find what you're looking for.
|
---|
| 285 | </para>
|
---|
[435934c] | 286 |
|
---|
[c4ab33b5] | 287 | <para>
|
---|
[49ee8357] | 288 | <command>find ... chmod ...</command>: These commands correct the
|
---|
[c4ab33b5] | 289 | permissions in the shipped documentation tar file.
|
---|
| 290 | </para>
|
---|
| 291 |
|
---|
[800f6b1] | 292 | </sect2>
|
---|
| 293 |
|
---|
| 294 | <sect2 role="configuration">
|
---|
| 295 | <title>Configuring Git</title>
|
---|
| 296 |
|
---|
| 297 | <sect3 id="git-config">
|
---|
| 298 | <title>Config Files</title>
|
---|
[32696a4] | 299 | <para>
|
---|
| 300 | <filename>~/.gitconfig</filename> and
|
---|
| 301 | <filename>/etc/gitconfig</filename>
|
---|
| 302 | </para>
|
---|
[800f6b1] | 303 |
|
---|
| 304 | <indexterm zone="git git-config">
|
---|
| 305 | <primary sortas="e-AA.gitconfig">~/.gitconfig</primary>
|
---|
| 306 | </indexterm>
|
---|
| 307 |
|
---|
| 308 | <indexterm zone="git git-config">
|
---|
| 309 | <primary sortas="e-etc-gitconfig">/etc/gitconfig</primary>
|
---|
| 310 | </indexterm>
|
---|
[32696a4] | 311 |
|
---|
[800f6b1] | 312 | </sect3>
|
---|
| 313 |
|
---|
| 314 | </sect2>
|
---|
| 315 |
|
---|
| 316 | <sect2 role="content">
|
---|
| 317 | <title>Contents</title>
|
---|
| 318 |
|
---|
| 319 | <segmentedlist>
|
---|
| 320 | <segtitle>Installed Programs</segtitle>
|
---|
[c3c56b2] | 321 | <segtitle>Installed Libraries</segtitle>
|
---|
[800f6b1] | 322 | <segtitle>Installed Directories</segtitle>
|
---|
| 323 |
|
---|
| 324 | <seglistitem>
|
---|
[32696a4] | 325 | <seg>
|
---|
[a79f8e7] | 326 | git, git-receive-pack and git-upload-archive (hardlinked to each other),
|
---|
[e2268bbf] | 327 | git-cvsserver, git-shell, git-upload-pack, and gitk
|
---|
[32696a4] | 328 | </seg>
|
---|
| 329 | <seg>
|
---|
| 330 | None
|
---|
| 331 | </seg>
|
---|
| 332 | <seg>
|
---|
[4c44c67] | 333 | /usr/lib/perl5/site_perl/<5.x.y>{,<arch>-linux/auto}/Git,
|
---|
[9276b6ee] | 334 | /usr/libexec/git-core and
|
---|
[5a04ffa] | 335 | /usr/share/{doc/git-&git-version;,git-core,git-gui,gitk,gitweb}
|
---|
[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>
|
---|