Wednesday, May 18, 2011

Command line git trees

Often I'm stuck in a terminal and want to see the commit history in a nice tree format. There's a nice solution ... git log recently learnt the "--graph" feature.

You can get pretty nice results from "--graph --oneline"

But using the tricks from we can get a much nicer result - including author and branches and time all coloured nicely

No comments:

Post a Comment