talira

Text-mode interface for Git

open sourceGPL-2.0-or-laterself-hostablefree

Tig is an ncurses-based text-mode interface for Git. It's mainly a repository browser (log, diffs, trees, blame, refs and stashes), but it also stages changes for a commit chunk by chunk and works as a pager for the output of other git commands. Keys and views are configured in a tigrc file. It runs on Linux, macOS and Cygwin, and Git for Windows has bundled it since version 2.14.2. Jonas Fonseca created it in 2006.

Ways to install

Problems it solves

  • browse git history and diffs in the terminal faster than git log -p
  • stage changes chunk by chunk in a text interface over SSH
  • see who changed each line of a file with an interactive blame in the terminal
  • page through the output of git commands in a navigable viewer

Features

  • log, diff, tree, blame, refs, stash and status views
  • chunk-level staging
  • pager mode for git command output
  • configurable key bindings and views (tigrc)
  • bundled with Git for Windows

Capabilities

Has a command line toolplan not known

Alternatives

The same job

These do what Tig does.

  1. GitUI Blazing fast terminal-ui for git written in rust
  2. lazygit simple terminal UI for git commands

Compare Tig with the top 3