Skip to content

Instantly share code, notes, and snippets.

@BHWarrior
Forked from johanmeiring/gist:3002458
Last active December 24, 2017 00:52
Show Gist options
  • Select an option

  • Save BHWarrior/c70619d78d7adc9d081c81d9b595ddfd to your computer and use it in GitHub Desktop.

Select an option

Save BHWarrior/c70619d78d7adc9d081c81d9b595ddfd to your computer and use it in GitHub Desktop.
"git lg" alias for pretty git log
# From http://garmoncheg.blogspot.com/2012/06/pretty-git-log.html
git config --global alias.lg "log --color --graph --pretty=format:'%C(cyan)%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
@BHWarrior
Copy link
Author

just experiment changing color and removing last "--"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment