Skip to content

Instantly share code, notes, and snippets.

@mattmccarty
Created March 20, 2017 21:20
Show Gist options
  • Save mattmccarty/d1fb6fcbedb333de1ccf90528f3b7047 to your computer and use it in GitHub Desktop.
Save mattmccarty/d1fb6fcbedb333de1ccf90528f3b7047 to your computer and use it in GitHub Desktop.
Beautify the output of git-log
# Issue the command below:
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
# When you want to beautify the git log, use the following command:
git lg
# Reference:
https://coderwall.com/p/euwpig/a-better-git-log
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment