It’s not easy to view the Git log in command line but most of the time is the most straight forward way or sometimes, the only way you could view the Git commit history.
Tig is a ncurses-based interface to view your Git repository.
Installation on OS X using Homebrew:
brew install tig
Installation on Ubuntu:
apt-get install tig
After the installation, go to your any of your local repository and execute the tig command. You could browse all the commit entries using the arrow keys.
Press d and you could view the diff of a specific commit history.
Press q to return to the previous view and press h to view the tig command help.
One thought on “Tig – Git interface on command line”