Skip to content

Instantly share code, notes, and snippets.

@jameswilson
Created February 15, 2017 19:40
  • Star 5 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save jameswilson/af674235dd442b6145fab20cb1e3136c to your computer and use it in GitHub Desktop.
git tree - a shorthand alias for a pretty cli git log graph
# Place this in your home directory's ~/.gitconfig file
[alias]
# a shorthand alias for a pretty cli git log graph
tree = "!git log --graph --decorate --pretty=format:'%C(yellow)%h %Cred%cr %Cblue(%an)%C(cyan)%d%Creset %s' --abbrev-commit --all"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment