I\'m curious if there is a way to show branch hierarchy on the command line? For instance if I use git branch, instead of seeing output like this:
git branch
*
How about this alias for your .gitconfig:
.gitconfig
[alias] branch-tree = !cd "$(git rev-parse --git-dir)/refs/heads" && tree
You can also give options, depending on what your tree command supports, such as -D for timestamps.
tree
-D