Skip to content

Graphing Git Repository Activity In ASCII

Here’s a quick little script I wrote up (adapted from this perlmonks post) to show git repository activity as an ascii graph, like so:

Git Graph Example

The X axis represents a day, with the current day being on the far right. The Y axis is no. of lines added + no. of lines deleted during that day.

3 Comments

  1. Ian wrote:

    Okay, I confess, I have spent at least 15 minutes every day since I read this post trying to think of something to graph.

    Friday, May 30, 2008 at 8:12 pm | Permalink
  2. James Bowes wrote:

    @IAN: How about graphing time spent per day thinking about something to graph?

    Saturday, May 31, 2008 at 7:09 am | Permalink
  3. Ian wrote:

    The problem there is that as soon as I start, the graph will be empty.

    Saturday, May 31, 2008 at 3:26 pm | Permalink