git log for pros
Add this to your global .gitconfig (~/.gitconfig)
[format]
pretty=format:%C(yellow)%h%Creset -%C(red)%d%Creset %s %Cgreen(%ar) %C(bold blue)<%an>%Creset
It will make the get log much much more legible.
Bonus tip:
Install the git-smart gem
> gem install git-smart
Then run this from the command line:
> git smart-log --all
It shows all branches / stashes / refs in the repo and shows them in a nice graph train track display.
Written by Christian Schlensker
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#N
Authors
Related Tags
#n
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#