Pretty git log in the terminal

It’s easy to get a graphical git log tree view in the terminal like this:-

Pretty git log screenshot display the este repository commit tree
Pretty git log screenshot display the este repository commit tree

Running the git log command below inside your git project produces similar output to that shown above:-

Using a git config alias, the command can be shortened to make it easier type in the terminal by defining an alias e.g. “tree” (or whatever you want to call it) in the global config.

Now to get the pretty git log tree view, simply type:-

Leave a Reply

Your email address will not be published. Required fields are marked *

Time limit is exhausted. Please reload CAPTCHA.