Generating statistics from Git repository

BastiBen picture BastiBen · Dec 1, 2009 · Viewed 226.6k times · Source

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.

Answer

Ruslan Kabalin picture Ruslan Kabalin · Sep 14, 2010

commits per author

git shortlog -s -n