Skip to content

Instantly share code, notes, and snippets.

@ChristianGrimberg
Last active July 23, 2019 20:32
Show Gist options
  • Select an option

  • Save ChristianGrimberg/80195cdefca1bb38a3a12626ef4270cd to your computer and use it in GitHub Desktop.

Select an option

Save ChristianGrimberg/80195cdefca1bb38a3a12626ef4270cd to your computer and use it in GitHub Desktop.
Git alias to see better git log from UNIX terminal

Git superlog

  1. Execute this command to see better git log from a repo:
git config --global alias.superlog "log --graph --abbrev-commit --decorate --date=relative --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(dim white)- %an%C(reset)%C(bold yellow)%d%C(reset)' --all --stat"
  1. Use git superlog in a repo to see how it works.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment