Wednesday, July 16, 2014

Using GitStat to Generate Commit Statistics for Git Repositories


You will nee python and a working installation of gnuplot.
  1. cd ~/pkg/
  2. git clone git://github.com/hoxu/gitstats.git
  3. cd gitstats
  4. ./gitstats path-to-repository path-to-html-output
Done!
Here's what I do for my code
  1. cd ~/pkg/
  2. git clone git://github.com/hoxu/gitstats.git
  3. cd gitstats
  4. ./gitstats -c start_date=1/1/2014  ~/development/uintah-work/src ~/uintah-stats-2014/
For more information on the options provided by gitstat, use
./gitstats --help
Note that you will always need to use -c flag to change the gitstats configuration.

Cite as:
Saad, T. "Using GitStat to Generate Commit Statistics for Git Repositories". Weblog entry from Please Make A Note. http://pleasemakeanote.blogspot.com/2014/07/using-gitstat-to-generate-commit.html