Skip to content

Instantly share code, notes, and snippets.

@HoverBaum
Created October 10, 2017 09:17
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save HoverBaum/19ab6a7bc58a8f8004bf361d0b9555d9 to your computer and use it in GitHub Desktop.
Save HoverBaum/19ab6a7bc58a8f8004bf361d0b9555d9 to your computer and use it in GitHub Desktop.
See branches on the commandline and create an alias for it.
git log --all --color --graph --pretty=format:'%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
git config --global alias.lg "log --all --color --graph --pretty=format:'%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