TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Track your Git commit statistics

18 点作者 stravid超过 13 年前

4 条评论

zalew超过 13 年前
relevant, for mercurial:<p>hg has an extension for that <a href="http://mercurial.selenic.com/wiki/ChurnExtension" rel="nofollow">http://mercurial.selenic.com/wiki/ChurnExtension</a><p>results are easy to parse to generate some other view<p><pre><code> zalew:~/webprojects/x$ hg churn -f '%u-%a' -s 1-Mon 1690 ** 2-Tue 4756 ****** 3-Wed 3007 **** 5-Fri 70758 **************************************************************************************** (dj125)2011-10-25 17:38:36 zalew:~/webprojects/x$ hg churn -f '%u-%a' -s -c 1-Mon 12 ***************************************** 2-Tue 26 **************************************************************************************** 3-Wed 4 ************** 5-Fri 9 ****************************** (dj125)2011-10-25 17:38:58 zalew:~/webprojects/x$ hg churn -f '%H' -s -c 02 1 ********** 03 4 **************************************** 04 6 ************************************************************* 05 3 ****************************** 06 8 ********************************************************************************* 07 3 ****************************** 11 1 ********** 12 2 ******************** 13 3 ****************************** 14 5 *************************************************** 15 3 ****************************** 16 9 ******************************************************************************************* 17 3 ******************************</code></pre>
mcobrien超过 13 年前
This sounds interesting, but what kinds of commit statistics can I expect to see if I sign up?<p>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:<p><pre><code> cd ~/code/myproject curl https://hulkort.herokuapp.com/load.sh | sh </code></pre> and get back a URL with all my stats for that repo fully loaded.
评论 #3154236 未加载
stravid超过 13 年前
After one of my articles (<a href="http://news.ycombinator.com/item?id=2965626" rel="nofollow">http://news.ycombinator.com/item?id=2965626</a>) 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.<p>Looking forward to any comments!
评论 #3154164 未加载
bretthopper超过 13 年前
For the love of god, let us see an example.
评论 #3154254 未加载