Created
February 15, 2017 19:40
-
-
Save jameswilson/af674235dd442b6145fab20cb1e3136c to your computer and use it in GitHub Desktop.
git tree - a shorthand alias for a pretty cli git log graph
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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