views:

1072

answers:

3

I'm looking for some good tools/scripts that allow me to generate a few statistics from a git repository. I've seen this feature on some code hosting sites, and they contained information like...

  • commits per author
  • commits per day/week/year/etc.
  • lines of code over time
  • graphs
  • ... much more

Basically I just want to get an idea how much my project grows over time, which developer commits most code and so on.

Thanks!

+3  A: 

A quick google search lead me to: http://gitstats.sourceforge.net/

Have you tried this project? I'm sure there are similar projects.

xyld
Quick note for anyone who finds this via Google: gitstats is *not* the same thing as gitstat above. Zomg gitstats is much better, insomuchas it has no dependency hell. It's self contained and just works.
Jay Paroline
+6  A: 

Beside mentioned by xyld GitStats (git history statistics generator), written in Python and requiring Gnuplot for graphs, there is also

Jakub Narębski
see xyld's answer. gitstats (not gitstat) is probably your best bet.
Jay Paroline
A: 

commits per author

git shortlog -s -n

Nowhereman