Skip to content

Instantly share code, notes, and snippets.

@listrophy
Forked from anonymous/.gitconfig
Created December 18, 2012 21:22
Show Gist options
  • Save listrophy/4332126 to your computer and use it in GitHub Desktop.
Save listrophy/4332126 to your computer and use it in GitHub Desktop.
[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