Skip to content

Instantly share code, notes, and snippets.

Created December 18, 2012 21:21
Show Gist options
  • Save anonymous/4332114 to your computer and use it in GitHub Desktop.
Save anonymous/4332114 to your computer and use it in GitHub Desktop.
My git-log settings
[alias]
lg = log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=local
# in the console:
git lg
# or, to see all local branches
git lg --branches
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment