Re:Show HN: Track your Git commit statistics
by stravid on Tuesday October 25, 2011 @10:15AM
(#3154109)
After one of my articles (http://news.ycombinator.com/item?id=2965626) got on HN, I built this little website with a friend. It's very simple and only tracks the commit count with the help of Git hooks.
Re:Show HN: Track your Git commit statistics
by Aqua_Geek on Tuesday October 25, 2011 @10:30AM
(#3154164)
When you say it only tracks the commit count, is it just a simple counter (e.g. "256 total commits across all branches") or does it break it down at all (by repo, branch, day, week, month, etc)?
The first section of the website could be more clear in this regard...
Re:Show HN: Track your Git commit statistics
by stravid on Tuesday October 25, 2011 @10:37AM
(#3154201)
No repo/branch data is tracked. But the time when the commit happened is saved. So it's possible to break it down to year/week/day/hour. You can set your timezone in the settings to get correct times.
Currently a commits per day graph is available.
And I agree with your suggestion for the homepage, it should be clearer and have graphics or example graphs. Thanks!
hg has an extension for that http://mercurial.selenic.com/wiki/ChurnExtension
results are easy to parse to generate some other view
Also, is there any way to get statistics on existing commits in a repo I have? It would be awesome if I could do something like:
and get back a URL with all my stats for that repo fully loaded.I really like your idea. There would be no need for an account on the user side so they could try it out right away!
Looking forward to any comments!
The first section of the website could be more clear in this regard...
Currently a commits per day graph is available.
And I agree with your suggestion for the homepage, it should be clearer and have graphics or example graphs. Thanks!