Skip to content

Instantly share code, notes, and snippets.

@dougalcampbell
Created October 11, 2012 14:41
Show Gist options
  • Save dougalcampbell/3872873 to your computer and use it in GitHub Desktop.
Save dougalcampbell/3872873 to your computer and use it in GitHub Desktop.
A sweet git alias for pretty pretty log listings
git config --global alias.lg "log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative"
# use: git lg
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment