This is an easy way to show a pretty git log using alias.
- Command:
git log --oneline --decorate --all --graph
- Add to alias:
git config --global alias.tree "log --oneline --decorate --all --graph"
Then, use git tree
to show the tree view:

This is an easy way to show a pretty git log using alias.
git log --oneline --decorate --all --graph
git config --global alias.tree "log --oneline --decorate --all --graph"
Then, use git tree
to show the tree view: