git lg alias - better view of git log
The Git alias below shows a concise, coloured Git log that is so much easier to read.
Open your ~/.gitconfig and add the following alias:
[alias]
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)
Try it with git lg
from any Git repository.
Written by Tair Assimov
Related protips
2 Responses

Hmmm
over 1 year ago
·

The code is missing a closing single quote at the end.
over 1 year ago
·
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#