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