Skip to content

Instantly share code, notes, and snippets.

@miguelfito
Forked from kacinskas/GIT log
Last active April 5, 2016 09:15
Show Gist options
  • Save miguelfito/f828ac016589c3d02861752c6c83f2b7 to your computer and use it in GitHub Desktop.
Save miguelfito/f828ac016589c3d02861752c6c83f2b7 to your computer and use it in GitHub Desktop.
Git Logging
# Define a new alias for git tree, colorized and with graph
git config --global alias.tree 'log --graph --full-history --all --color --date=short --pretty=format:"%Cred%x09%h %Creset%ad%Cblue%d %Creset %s %C(bold)(%an)%Creset"'
# Then, invoke it
git tree
# Source: https://coderwall.com/p/4-itow/nice-terminal-git-tree-graph
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment