graph git history by month

git_history.rb, accepts two optional arguments, the first sets the bar size, the second is the graph type, which can be horizontal or vertical (defaults to horizontal) an example:
$ ./git_history.rb 
2008-03 |########                                           5 commits
2008-04 |########################################          25 commits
2008-05 |                                                   0 commits
2008-06 |                                                   0 commits
2008-07 |####                                               3 commits
2008-08 |###                                                2 commits
2008-09 |############                                       8 commits
2008-10 |                                                   0 commits
2008-11 |######                                             4 commits
2008-12 |                                                   0 commits
2009-01 |#                                                  1 commits
2009-02 |######################                            14 commits
2009-03 |########                                           5 commits
2009-04 |############                                       8 commits
2009-05 |##############                                     9 commits
2009-06 |                                                   0 commits
another example, using arguments:
./git_history.rb 30 vertical
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                                          
                                             #                                                 #                        
                                             #                                                 #                        
                                             #                                                 #                        
                                             #                                                 #                        
                                             #                                                 #                        
                                             #                                                 #                        
                                             #                                                 #              #         
     #                                       #                        #                        #         #    #         
     #                                       #                        #                        #         #    #         
     #                                       #                        #                        #         #    #         
     #    #              #              #    #                        #                        #    #    #    #         
     #    #              #              #    #                        #                        #    #    #    #         
     #    #              #    #         #    #                        #         #              #    #    #    #         
     #    #              #    #    #    #    #              #         #         #              #    #    #    #         
     #    #              #    #    #    #    #              #    #    #         #              #    #    #    #         
#    #    #         #    #    #    #    #    #              #    #    #         #         #    #    #    #    #         
#    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    #    
07   08   09   10   11   12   01   02   03   04   05   06   07   08   09   10   11   12   01   02   03   04   05   06   
2007 2007 2007 2007 2007 2007 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2008 2009 2009 2009 2009 2009 2009  

Posted by Maximiliano Guzman Thu, 04 Jun 2009 03:32:00 GMT


Trackbacks

Use the following link to trackback from your own site:
http://maximilianoguzman.com.ar/trackbacks?article_id=6

Comments

Leave a response

  1. Avatar
    smart battery charger about 1 year later:

    Right now I have a lot of spare time to read your website because of which I added it to my bookmarks. I will return in the future.

  2. Avatar
    krzyzowki about 1 year later:

    This is the greatest topic I have read today

  3. Avatar
    darmowe pozycjonowanie about 1 year later:

    Great read! You might want to follow up to this topic???

  4. Avatar
    linux about 1 year later:

    Thanks for this great post. Did you do it all on your own? This must’ve taken a lot of time

Leave a comment