Skip to content

Instantly share code, notes, and snippets.

@guilhermechapiewski
Created July 23, 2013 22:21
Show Gist options
  • Save guilhermechapiewski/6066682 to your computer and use it in GitHub Desktop.
Save guilhermechapiewski/6066682 to your computer and use it in GitHub Desktop.
Creates a "git lg" alias that displays a pretty nicely formatted git log output.
git config --global alias.lg=log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --date=relative
@guilhermechapiewski
Copy link
Author

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