About Tig
Tig is a terminal Git browser that displays Git history, commits, and changes through an interactive text interface. It supports status view, log view, diff preview, and blame tracking.
Key features
- 01Interactively browse Git commit history and branch information
- 02View file changes, diffs, and commit details
- 03Track line-by-line edit history and responsibility for code changes
- 04Quickly navigate and search commits and file modifications
Use cases
- 01Developers rapidly reviewing code changes and commit history from the terminal
- 02Coding agents analyzing version control information to understand code evolution
- 03Team members identifying who changed specific code lines and why
Install
Pick your OS or package manager and run the command in a terminal.
$
Once installed, runtig --versionto confirm it works.
Example commands
Common commands in the order you’d use them.
01
02
03
Details
From the project READMETig: text-mode interface for Git
================================
:docext: adoc
image:https://github.com/jonas/tig/workflows/Linux/badge.svg[Linux CI,link=https://github.com/jonas/tig/actions?query=workflow%3ALinux]
image:https://github.com/jonas/tig/workflows/macOS/badge.svg[macOS CI,link=https://github.com/jonas/tig/actions?query=workflow%3AmacOS]
image:https://ci.appveyor.com/api/projects/status/jxt1uf52o7r0a8r7/branch/master?svg=true[AppVeyor Build,link=https://ci.appveyor.com/project/fonseca/tig]
What is Tig?
------------
Tig is an ncurses-based text-mode interface for git. It functions mainly
as a Git repository browser, but can also assist in staging changes for
commit at chunk level and act as a pager for output from various Git
commands.
Resources
---------
- Homepage: https://github.com/jonas/tig[]
- Manual: https://www.mankier.com/7/tigmanual[]
- Tarballs: https://github.com/jonas/tig/releases[]
- Q&A: https://stackoverflow.com/questions/tagged/tig[]
Bugs and Feature Requests
-------------------------
Bugs and feature requests can be reported using the
https://github.com/jonas/tig/issues[issue tracker] or by mail to the
https://lore.kernel.org/git/[Git mailing list]. Ensure that the word
"tig" is in the subject. For other Tig related questions please use
Stack Overflow: https://stackoverflow.com/questions/tagged/tig[].
If you are sending a bug report, please include the following information:
- What Tig and ncurses versions are you using?
(`tig -v`)
- What system do you have?
(`uname -a`, `lsb_release -a`)
- What Git version are you using?
(`git -v`)
Installation and News
---------------------
Information on how to build and install Tig are found in
link:INSTALL.{docext}[the installation instructions].
News about releases and latest features and bug fixes are found in
link:NEWS.{docext}[the release notes].Comments
Markdown supported