Forrest logo
tool overview
On this page you find all important commands for the CLI tool tig. If the command you are looking for is missing please ask our AI.

tig

Tig is a command line tool used for browsing Git repositories. It provides a text-based interface that allows users to navigate and explore Git repositories easily. With Tig, users can view the repository's commit history, branch topology, and changes made to files over time. It supports various built-in views such as blame, diff, grep, and log, which aid in understanding and analyzing the project's development. Tig allows users to cherry-pick specific commits and view the differences between branches and commits. It provides an interactive interface that allows for seamless navigation using keyboard shortcuts. Tig supports a wide range of customization options, allowing users to configure its behavior, keybindings, and appearance. It has a comprehensive set of search and filtering capabilities, enabling users to find specific changes, commits, or files quickly. Tig is written in C and is available for various Unix-like platforms, including Linux, macOS, and BSD. It is highly regarded and used by many Git users as a powerful and efficient way to interact with Git repositories from the command line.

List of commands for tig:

  • tig:tldr:4537a tig: Show the difference between two references (such as branches or tags).
    $ tig ${base_ref}..${compared_ref}
    try on your machine
    explain this command
  • tig:tldr:87013 tig: Show the sequence of commits starting from the current one in reverse chronological order.
    $ tig
    try on your machine
    explain this command
  • tig:tldr:9b9cd tig: Show the history of a specific branch.
    $ tig ${branch}
    try on your machine
    explain this command
  • tig:tldr:d4907 tig: Start in stash view, displaying all saved stashes.
    $ tig stash
    try on your machine
    explain this command
  • tig:tldr:f7d07 tig: Display commits from all branches and stashes.
    $ tig --all
    try on your machine
    explain this command
tool overview