1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168
|
<div style="font-family: sans-serif;">
<h1>Tig: text-mode interface for git</h1>
<div id="preamble">
<div class="sectionbody">
<p>Tig is a git repository browser that additionally can act as a pager for output
from various git commands.</p>
<p>When browsing repositories, it uses the underlying git commands to present the
user with various views, such as summarized revision log and showing the commit
with the log message, diffstat, and the diff.</p>
<p>Using it as a pager, it will display input from stdin and colorize it.</p>
</div>
</div>
<h2>Resources</h2>
<div class="sectionbody">
<ul>
<li>
<p>
Homepage: <a href="http://jonas.nitro.dk/tig/">http://jonas.nitro.dk/tig/</a>
</p>
</li>
<li>
<p>
Manual: <a href="http://jonas.nitro.dk/tig/manual.html">http://jonas.nitro.dk/tig/manual.html</a>
</p>
</li>
<li>
<p>
Tarballs: <a href="http://jonas.nitro.dk/tig/releases/">http://jonas.nitro.dk/tig/releases/</a>
</p>
</li>
<li>
<p>
Git URL: git://repo.or.cz/tig.git (mirror) or
<a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a> (master)
</p>
</li>
<li>
<p>
Gitweb: <a href="http://repo.or.cz/w/tig.git">http://repo.or.cz/w/tig.git</a>
</p>
</li>
</ul>
</div>
<h2>Installation instructions</h2>
<div class="sectionbody">
<p>Download a tarball from <a href="http://jonas.nitro.dk/tig/releases">http://jonas.nitro.dk/tig/releases</a> or clone the tig
repository <a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a>. Documentation files are
available in the tarballs and in the <em>release</em> branch of the tig repository.</p>
<p>The quick and simple way to install tig with documentation is to run:</p>
<div class="literalblock">
<div class="content">
<pre><tt>$ make
$ make install install-doc</tt></pre>
</div></div>
<p>Optionally, you can use the <tt>configure</tt> script to detect library location:</p>
<div class="literalblock">
<div class="content">
<pre><tt>$ ./configure
$ make
$ make install</tt></pre>
</div></div>
<p>If your iconv library is not in the default library and include path, you'll
probably want to pass the "—with-libiconv" option to the "configure" script to
tell it where to look. Note, if you are building from the tig repository, you
need to first make the configure script:</p>
<div class="literalblock">
<div class="content">
<pre><tt>$ make configure</tt></pre>
</div></div>
<p>The following tools and packages are needed:</p>
<div class="tableblock">
<table rules="none"
frame="hsides"
cellspacing="0" cellpadding="4">
<col width="365" />
<col width="537" />
<thead>
<tr>
<th align="left">
Tool
</th>
<th align="left">
Description
</th>
</tr>
</thead>
<tbody valign="top">
<tr>
<td align="left">
git-core
</td>
<td align="left">
Tig is just a frontend for git.
</td>
</tr>
<tr>
<td align="left">
ncurses
</td>
<td align="left">
Be sure to also have development files installed. Usually they are available in a separate package ending with <tt>-dev</tt>.
</td>
</tr>
<tr>
<td align="left">
iconv
</td>
<td align="left">
If iconv is not provided by the c library you need to change the Makefile to link it into the binary.
</td>
</tr>
</tbody>
</table>
</div>
<p>The following optional tools and packages are needed for creating the
configure script and building documentation:</p>
<div class="tableblock">
<table rules="none"
frame="hsides"
cellspacing="0" cellpadding="4">
<col width="365" />
<col width="537" />
<tbody valign="top">
<tr>
<td align="left">
autoconf
</td>
<td align="left">
Contains autoreconf for generating configure from configure.ac.
</td>
</tr>
<tr>
<td align="left">
asciidoc (>= 8.0)
</td>
<td align="left">
Generates HTML and (DocBook) XML from text.
</td>
</tr>
<tr>
<td align="left">
xmlto
</td>
<td align="left">
Generates manpages and chunked HTML from XML.
</td>
</tr>
<tr>
<td align="left">
DocBook XSL (>= 1.72.0)
</td>
<td align="left">
Used by xmlto for building manpages.
</td>
</tr>
<tr>
<td align="left">
DocBook (DSSL/Jade) tools
</td>
<td align="left">
Generates PDF from XML. Also known as docbook-utils.
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
|