Skip to content

Instantly share code, notes, and snippets.

@b13n1u
Last active August 29, 2015 14:14
Show Gist options
  • Save b13n1u/dee89befdaeae0618da3 to your computer and use it in GitHub Desktop.
Save b13n1u/dee89befdaeae0618da3 to your computer and use it in GitHub Desktop.
#nice 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"
#enable color
git config --global color.ui true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment