Git Log that's worth something
in ~/.gitconfig
[alias]
lg = log -20 --graph --pretty=format:'%C(yellow)%h%Creset -%C(bold red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
use it!
$ git lg # shows 20 commits by default
$git lg -100 #show 100 items
I didn't write this, I adapted it from https://www.destroyallsoftware.com
Written by Jon Druse
Related protips
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#