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
|
<div style="font-family: monospace;">
<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>
Releases: <a href="http://jonas.nitro.dk/tig/releases">http://jonas.nitro.dk/tig/releases</a>
</p>
</li>
<li>
<p>
Git URL: <a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a> or
git://repo.or.cz/tig.git
</p>
</li>
<li>
<p>
Gitweb: <a href="http://repo.or.cz/?p=tig.git;a=summary">http://repo.or.cz/?p=tig.git;a=summary</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 either in the tarballs or in the above repository in the branch named
<em>release</em>.</p>
<p>To install tig simply run:</p>
<div class="literalblock">
<div class="content">
<pre><tt>$ make install</tt></pre>
</div></div>
<p>To install documentation run:</p>
<div class="literalblock">
<div class="content">
<pre><tt>$ make install-docs</tt></pre>
</div></div>
<p>Edit the Makefile if you need to configure specific compiler or linker flags.
On FreeBSD for example the c library does not support the iconv interface and
to compile tig you need to append <tt>-L/usr/local/lib -liconv</tt> to <tt>LDLIBS</tt> and
<tt>-I/usr/local/include</tt> to the <tt>CFLAGS</tt> variable.</p>
<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>
<tr>
<td align="left">
asciidoc (>= 7.0), xmlto
</td>
<td align="left">
For building documentation. (Optional)
</td>
</tr>
</tbody>
</table>
</div>
</div>
</div>
|