Skip to content

Instantly share code, notes, and snippets.

@ciekawy
Last active March 8, 2017 15:48
Show Gist options
  • Save ciekawy/0f7a1e33f8a3debcc682138fa1fe367d to your computer and use it in GitHub Desktop.
Save ciekawy/0f7a1e33f8a3debcc682138fa1fe367d to your computer and use it in GitHub Desktop.
git tree

command to setup

git config --global alias.tree "log --date-order --date=short  --abbrev-commit --graph --decorate \
  --pretty=format:'%x09%C(yellow)%h | %Cred%ad | %Cblue%ae | %Cgreen%d %Creset%s'"

usage is just git tree with optional params to log command like i.e. git tree --all to show all branches

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment