Blog·Tanky WooABOUTRSS

Simple Tig Introduction

01 Oct 2013


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.

From Tig.

Tig use vi shortkeys mode, compact perfectly with Git , is very powerful.

Such a good tool, but many Giters do not know, is so awesome.

The main and diff view

Some Simple Usage

# Just enter tig in a git repo
# tig will list all the commits
# Choose a commit and enter, tig will show the diff and log
$ tig

# Pager Mode
$ git show | tig

Read More