Skip to content

Instantly share code, notes, and snippets.

@hascode
Created October 18, 2013 09:52
Show Gist options
  • Save hascode/7039247 to your computer and use it in GitHub Desktop.
Save hascode/7039247 to your computer and use it in GitHub Desktop.
Setting a global alias to allow a pretty-printed git log output defining an alias named plog (for pretty-log).
git config --global alias.plog "log --graph --decorate --all --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)'"
git plog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment