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