FOSSPicks

Git browser

tig

Many of us are spending more and more of our time with the git command. It's true that git is primarily useful for programmers, as it allows them to work as part of team in which everyone commits to the same codebase, where releases and bugs are tracked and coordinated. But it's also useful in lots of other cases. There are tools that use git to version control your /etc/ configuration directory, for example, or serve as your own secret password repository to websites using a tool like pass. git is commonly used to build documentation, websites, and databases. If you need snapshots of something that's constantly changing and written in text, there's a good chance git could be a solution.

But the main problem with git is its complexity, and that's not just because it was built for programmers. It was initially built by Linus Torvalds, and as we know, he doesn't suffer fools gladly, nor nicefy a tool simply to appease those who don't understand its functionality. This approach often makes git difficult to understand, especially outside of programmer's circles and especially outside of its core feature set of pushing and pulling from a repository. Anything that can make this easier is going to be a huge help for us non-git masters, and that's exactly what tig does. It's a terminal-based UI to various different git views, such as the recent commits, diffs, the log, and the blame list, which is a great way to see who wrote each line of a file. It does all of this without you needing to remember any weird arguments or command structures  – just press h to see the few keyboard shortcuts it does use and begin exploring your favorite projects and repositories.

Project Website

https://jonas.github.io/tig/

Even if you have no interest in git, the tig command opens up all kinds of details about your favorite projects – and even the Linux kernel!

Media transcoder

Buy this article as PDF

Express-Checkout as PDF
Price $2.95
(incl. VAT)

Buy Linux Magazine

SINGLE ISSUES
 
SUBSCRIPTIONS
 
TABLET & SMARTPHONE APPS
Get it on Google Play

US / Canada

Get it on Google Play

UK / Australia

Related content

  • FOSSPicks

    There's a collective groan in Graham's household whenever he gets a new device and finds a terminal prompt. The latest victim to his nmap skills is an LG OLED television!

  • FOSSPicks

    This month Graham reviews PeaZip, LibreSprite, NeoChat, Beaker, Giada, Thrive, Kurve, and much more!

  • FOSSPicks

    This month, Graham discovered the spontaneous knotting of an agitated string while trying to untangle the mess of wires behind his PC and quickly gave up.

  • FOSSPicks

    Graham Morrison tears himself away from updating Arch Linux to search for the best new free software.

  • FOSSPicks

    Graham reviews Thunderbird 60, Stress-Terminal UI, Taskbook, SolveSpace, Star Ruler 2, and more!

comments powered by Disqus
Subscribe to our Linux Newsletters
Find Linux and Open Source Jobs
Subscribe to our ADMIN Newsletters

Support Our Work

Linux Magazine content is made possible with support from readers like you. Please consider contributing when you’ve found an article to be beneficial.

Learn More

News