1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN"
\r
2 "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
\r
3 <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
\r
5 <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
\r
6 <meta name="generator" content="AsciiDoc 7.0.2" />
\r
7 <style type="text/css">
\r
9 p, li, dt, dd, div, pre, h1, h2, h3, h4, h5, h6 {
\r
11 border: 1px solid red;
\r
16 margin: 1em 5% 1em 5%;
\r
20 a:visited { color: fuchsia; }
\r
34 h1, h2, h3, h4, h5, h6 {
\r
36 font-family: sans-serif;
\r
38 margin-bottom: 0.5em;
\r
43 border-bottom: 2px solid silver;
\r
46 border-bottom: 2px solid silver;
\r
56 border: 1px solid silver;
\r
61 margin-bottom: 0.5em;
\r
71 font-family: sans-serif;
\r
78 font-family: sans-serif;
\r
82 font-family: sans-serif;
\r
84 border-top: 2px solid silver;
\r
90 padding-bottom: 0.5em;
\r
94 padding-bottom: 0.5em;
\r
98 div.tableblock, div.imageblock, div.exampleblock, div.verseblock,
\r
99 div.quoteblock, div.literalblock, div.listingblock, div.sidebarblock,
\r
100 div.admonitionblock {
\r
103 margin-bottom: 1.5em;
\r
105 div.admonitionblock {
\r
107 margin-bottom: 2.5em;
\r
110 div.content { /* Block element content. */
\r
114 /* Block element titles. */
\r
115 div.title, caption.title {
\r
116 font-family: sans-serif;
\r
120 margin-bottom: 0.5em;
\r
126 td div.title:first-child {
\r
129 div.content div.title:first-child {
\r
132 div.content + div.title {
\r
136 div.sidebarblock > div.content {
\r
137 background: #ffffee;
\r
138 border: 1px solid silver;
\r
142 div.listingblock > div.content {
\r
143 border: 1px solid silver;
\r
144 background: #f4f4f4;
\r
148 div.quoteblock > div.content {
\r
149 padding-left: 2.0em;
\r
151 div.quoteblock .attribution {
\r
155 div.admonitionblock .icon {
\r
156 vertical-align: top;
\r
159 text-decoration: underline;
\r
161 padding-right: 0.5em;
\r
163 div.admonitionblock td.content {
\r
164 padding-left: 0.5em;
\r
165 border-left: 2px solid silver;
\r
168 div.exampleblock > div.content {
\r
169 border-left: 2px solid silver;
\r
173 div.verseblock div.content {
\r
177 div.imageblock div.content { padding-left: 0; }
\r
178 div.imageblock img { border: 1px solid silver; }
\r
179 span.image img { border-style: none; }
\r
183 margin-bottom: 0.8em;
\r
188 font-style: italic;
\r
190 dd > *:first-child {
\r
195 list-style-position: outside;
\r
198 list-style-type: lower-alpha;
\r
201 div.tableblock > table {
\r
202 border-color: #527bbd;
\r
206 font-family: sans-serif;
\r
215 margin-bottom: 0.8em;
\r
218 vertical-align: top;
\r
219 font-style: italic;
\r
220 padding-right: 0.8em;
\r
223 vertical-align: top;
\r
227 div#footer-badges { display: none; }
\r
229 include::./stylesheets/xhtml11-manpage.css[]
\r
230 /* Workarounds for IE6's broken and incomplete CSS2. */
\r
232 div.sidebar-content {
\r
233 background: #ffffee;
\r
234 border: 1px solid silver;
\r
237 div.sidebar-title, div.image-title {
\r
238 font-family: sans-serif;
\r
241 margin-bottom: 0.5em;
\r
244 div.listingblock div.content {
\r
245 border: 1px solid silver;
\r
246 background: #f4f4f4;
\r
250 div.quoteblock-content {
\r
251 padding-left: 2.0em;
\r
254 div.exampleblock-content {
\r
255 border-left: 2px solid silver;
\r
256 padding-left: 0.5em;
\r
259 <title>TIG(1)</title>
\r
267 <div class="sectionbody">
\r
269 text-mode interface for git
\r
274 <div class="sectionbody">
\r
275 <div class="verseblock">
\r
276 <div class="content">tig [options]
\r
277 tig [options] [--] [git log options]
\r
278 tig [options] log [git log options]
\r
279 tig [options] diff [git diff options]
\r
280 tig [options] show [git show options]
\r
281 tig [options] < [git command output]</div></div>
\r
283 <h2>DESCRIPTION</h2>
\r
284 <div class="sectionbody">
\r
285 <p>Browse changes in a git repository. Additionally, tig(1) can also act
\r
286 as a pager for output of various git commands.</p>
\r
287 <p>When browsing repositories, tig(1) uses the underlying git commands
\r
288 to present the user with various views, such as summarized commit log
\r
289 and showing the commit with the log message, diffstat, and the diff.</p>
\r
290 <p>Using tig(1) as a pager, it will display input from stdin and try
\r
291 to colorize it.</p>
\r
294 <div class="sectionbody">
\r
301 Start up in log view using the internal log command.
\r
309 Start up in diff view using the internal diff command.
\r
313 -n[INTERVAL], --line-number[=INTERVAL]
\r
317 Prefix line numbers in log and diff view.
\r
318 Optionally, with interval different than each line.
\r
322 -b[NSPACES], --tab-size[=NSPACES]
\r
326 Set the number of spaces tabs should be expanded to.
\r
334 Show version and exit.
\r
342 Show help message and exit.
\r
350 End of tig(1) options. Useful when specifying command
\r
351 options for the main view. Example:
\r
353 <div class="literalblock">
\r
354 <div class="content">
\r
355 <pre><tt>$ tig -- --since=1.month</tt></pre>
\r
359 log [git log options]
\r
363 Open log view using the given git log options.
\r
367 diff [git diff options]
\r
371 Open diff view using the given git diff options.
\r
375 show [git show options]
\r
379 Open diff view using the given git show options.
\r
387 tig(1) will stop the option parsing when the first
\r
388 command line parameter not starting with "-" is
\r
389 encountered. All options including this one will be
\r
390 passed to git log when loading the main view.
\r
391 This makes it possible to say:
\r
393 <div class="literalblock">
\r
394 <div class="content">
\r
395 <pre><tt>$ tig tag-1.0..HEAD</tt></pre>
\r
400 <h2>ENVIRONMENT VARIABLES</h2>
\r
401 <div class="sectionbody">
\r
408 Set command for retrieving all repository references. The command
\r
409 should output data in the same format as git-ls-remote(1).
\r
417 The command used for the diff view. By default, git show is used
\r
426 The command used for the log view. If you prefer to have both
\r
427 author and committer shown in the log view be sure to pass
\r
428 <tt>--pretty=fuller</tt> to git log.
\r
436 The command used for the main view. Note, you must always specify
\r
437 the option: <tt>--pretty=raw</tt> since the main view parser expects to
\r
444 <div class="sectionbody">
\r
451 User configuration file. See <a href="tigrc.5.html">tigrc(5)</a> for examples.
\r
455 <em>.git/config</em>
\r
459 Repository config file. Read on startup with the help of
\r
460 git-repo-config(1).
\r
466 <div class="sectionbody">
\r
467 <p>Known bugs and problems:</p>
\r
471 In it's current state tig is pretty much UTF-8 only.
\r
476 If the screen width is very small the main view can draw
\r
477 outside the current view causing bad wrapping. Same goes
\r
478 for title and status windows.
\r
483 The cursor can wrap-around on the last line and cause the
\r
490 <div class="sectionbody">
\r
491 <p>Copyright (c) 2006 Jonas Fonseca <fonseca@diku.dk></p>
\r
492 <p>This program is free software; you can redistribute it and/or modify
\r
493 it under the terms of the GNU General Public License as published by
\r
494 the Free Software Foundation; either version 2 of the License, or
\r
495 (at your option) any later version.</p>
\r
498 <div class="sectionbody">
\r
499 <p><a href="tigrc.5.html">tigrc(5)</a>, git(7), cogito(7), as well as other git repository browsers:
\r
500 gitk(1), qgit(1), gitview(1).</p>
\r
501 <p>Online resources:</p>
\r
505 Homepage: <a href="http://jonas.nitro.dk/tig">http://jonas.nitro.dk/tig</a>
\r
510 Manual: <a href="http://jonas.nitro.dk/tig/manual.html">http://jonas.nitro.dk/tig/manual.html</a>
\r
515 Releases: <a href="http://jonas.nitro.dk/tig/releases">http://jonas.nitro.dk/tig/releases</a>
\r
520 Git URL: <a href="http://jonas.nitro.dk/tig/tig.git">http://jonas.nitro.dk/tig/tig.git</a>
\r
525 Gitweb: <a href="http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary">http://pasky.or.cz/gitweb.cgi?p=tig.git;a=summary</a>
\r
531 <div id="footer-text">
\r
532 Last updated 15-Jun-2006 01:28:15 CEST
\r