tig
Installation
SKILL.md
Tig
Tig is an ncurses-based text-mode interface for git. It functions mainly as a Git repository browser.
When to Use
- Terminal-Based Git History Navigation: Browsing commit graphs, branches, and tags rapidly in headless server environments.
- Interactive Staging & Chunk Commits: Reviewing diffs, staging hunks, and reverting unstaged lines without leaving the terminal.
- Blame & Annotate Code: Inspecting commit authors, timestamps, and commit logs per line of code (
tig blame). - Low-Overhead Git Auditing: Auditing large enterprise git repositories over SSH connections with zero GUI lag.
Quick Start
1. Common Invocations
# Open main branch commit graph
tig