Hi,
Just had one of those "why was I not always doing this??" moments, so I
thought I'd share the tip.
Obviously the prettiest way to view git branches and their
relationships is in an IDE or in GitHub (or similar) but I'm normally
working on the Linux command line.
If I run this once:
$ git config --global alias.tree 'log --all --graph --decorate --
oneline --simplify-by-decoration'
Now I get the 'git tree' command which shows a very nice view of all my
branches and tags and how they relate.
Original tip from here:
https://stackoverflow.com/questions/7623278/showing-branch-hierarchy-at
-the-command-line
Hope someone else finds this useful.
Cheers,
TIM
--
The University of Edinburgh is a charitable body, registered in
Scotland, with registration number SC005336.