Skip to content

Instantly share code, notes, and snippets.

@james-huang
Created May 17, 2016 01:24
Show Gist options
  • Save james-huang/64cf41fdab52a02ac07831a077465e76 to your computer and use it in GitHub Desktop.
Save james-huang/64cf41fdab52a02ac07831a077465e76 to your computer and use it in GitHub Desktop.
1 liner git log
git config --global alias.lg "log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment