.\"Generated by db2man.xsl. Don't modify this, modify the source. .de Sh \" Subsection .br .if t .Sp .ne 5 .PP \fB\\$1\fR .PP .. .de Sp \" Vertical space (when we can't use .PP) .if t .sp .5v .if n .sp .. .de Ip \" List item .br .ie \\n(.$>=3 .ne \\$3 .el .ne 3 .IP "\\$1" \\$2 .. .TH "TIG" 1 "" "" "" .SH NAME tig \- text-mode interface for git .SH "SYNOPSIS" .nf tig [options] tig [options] [\-\-] [git options] tig [options] log [git options] tig [options] diff [git options] tig [options] show [git options] tig [options] < [git command output] .fi .SH "DESCRIPTION" Browse changes in a git repository\&. Additionally, tig(1) can also act as a pager for output of various git commands\&. When browsing repositories, tig(1) uses the underlying git commands to present the user with various views, such as summarized commit log and showing the commit with the log message, diffstat, and the diff\&. Using tig(1) as a pager, it will display input from stdin and try to colorize it\&. .SH "OPTIONS" .TP \-l Start up in log view using the internal log command\&. .TP \-d Start up in diff view using the internal diff command\&. .TP \-n[INTERVAL], \-\-line\-number[=INTERVAL] Prefix line numbers in log and diff view\&. Optionally, with interval different than each line\&. .TP \-b[NSPACES], \-\-tab\-size[=NSPACES] Set the number of spaces tabs should be expanded to\&. .TP \-v, \-\-version Show version and exit\&. .TP \-h, \-\-help Show help message and exit\&. .TP \-\- End of tig(1) options\&. Useful when specifying command options for the main view\&. Example: .nf $ tig \-\- \-\-since=1\&.month .fi .TP log Open log view using the given git log options\&. .TP diff Open diff view using the given git diff options\&. .TP show Open diff view using the given git show options\&. .TP [git options] tig(1) will stop the option parsing when the first command line parameter not starting with "\-" is encountered\&. All options including this one will be passed to git log when loading the main view\&. This makes it possible to say: .nf $ tig tag\-1\&.0\&.\&.HEAD .fi .SH "ENVIRONMENT VARIABLES" .TP TIG_LS_REMOTE Set command for retrieving all repository references\&. The command should output data in the same format as git\-ls\-remote(1)\&. .TP TIG_DIFF_CMD The command used for the diff view\&. By default, git show is used as a backend\&. .TP TIG_LOG_CMD The command used for the log view\&. If you prefer to have both author and committer shown in the log view be sure to pass \-\-pretty=fuller to git log\&. .TP TIG_MAIN_CMD The command used for the main view\&. Note, you must always specify the option: \-\-pretty=raw since the main view parser expects to read that format\&. .SS "Tree commands" .TP TIG_TREE_CMD The command used for the tree view\&. By default, git\-ls\-tree(1) is used\&. The commands should expect first the commit ID and second a path\&. .TP TIG_BLOB_CMD The command used for the blob view\&. By default, git\-cat\-file(1) is used\&. The command gets the blob ID\&. .SH "FILES" .TP \fI~/\&.tigrc\fR User configuration file\&. See \fBtigrc\fR(5) for examples\&. .TP \fI\&.git/config\fR Repository config file\&. Read on start\-up with the help of git\-repo\-config(1)\&. .SH "BUGS" Known bugs and problems: .TP 3 \(bu Proper locale support: in it's current state tig is pretty much UTF\-8 only\&. .TP \(bu Horizontal scrolling\&. .LP .SH "COPYRIGHT" Copyright (c) 2006 Jonas Fonseca This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version\&. .SH "SEE ALSO" \fBtigrc\fR(5), git(7), cogito(7), as well as other git repository browsers: gitk(1), qgit(1), gitview(1)\&. Online resources: .TP 3 \(bu Homepage: http://jonas\&.nitro\&.dk/tig: \fIhttp://jonas.nitro.dk/tig\fR .TP \(bu Manual: http://jonas\&.nitro\&.dk/tig/manual\&.html: \fIhttp://jonas.nitro.dk/tig/manual.html\fR .TP \(bu Releases: http://jonas\&.nitro\&.dk/tig/releases: \fIhttp://jonas.nitro.dk/tig/releases\fR .TP \(bu Git URL: http://jonas\&.nitro\&.dk/tig/tig\&.git: \fIhttp://jonas.nitro.dk/tig/tig.git\fR or git://repo\&.or\&.cz/tig\&.git .TP \(bu Gitweb: http://repo\&.or\&.cz/?p=tig\&.git;a=summary: \fIhttp://repo.or.cz/?p=tig.git;a=summary\fR .LP