Generating statistics from Git repository [closed]

Question

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

commits per author

git shortlog -s -n 

How can I stash only staged changes in Git?

Git push error '[remote rejected] master -> master (branch is currently checked out)'