Git simplified revision graph (branching diagram)
The following git alias will show a simplified revision tree, which only shows decorated (tagged or branch head) revisions or the revisions with more than one parent or child. It leaves off commit subjects and only shows the commit hash and decorations:
git config --global alias.branches "log --graph --all \
--simplify-by-decoration --format=format:'%h%Cgreen%d%Creset'"
Just type git branches
to use.
Written by Mike Bloy
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Branch
Authors

niklongstone
42.09K

muzzlefork
12.01K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#