We don’t allow questions seeking recommendations for software libraries, tutorials, tools, books, or other off-site resources. You can edit the question so it can be answered with facts and citations.
Closed 5 years ago.
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
接受
或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
发布评论
评论(3)
我知道 github 和其他主机已经展示了这一点。但自动化这样的事情并不难:
这将显示 Jane 所有提交的日期。您可以使用
> 将其流式传输到文件中最后导出.csv
。然后您可以使用 Excel 打开它,您可以在其中操作数据。或者您可以导出每个作者及其提交:此外,您可以挖掘有关每个提交的更多信息(例如每次更改的行数或受影响的路径等......)
这次我将输出限制为 master是上个月。
I know that github and other hosts show this already. But it wouldn't be hard to automate something like that:
This will show the dates of all the commits of Jane. You can stream that to a file with
> export.csv
at the end. You then open this with excel where you can manipulate the data. Or you can export each author and their commits:further, you could dig out more info about each commit (say the number of lines changed each time, or paths affected, etc..)
This time I've limited the output to where master was last month.
看一下 gitstats,它使用 GNU Plot 来可视化存储库的活动历史记录:
http://gitstats.sourceforge.net
Have a look at gitstats, which uses GNU Plot to visualize a repo's history of activity:
http://gitstats.sourceforge.net
您可以使用 git Shortlog --since="1 个月前"。或者,您可以使用
git log
的--format
选项以适合您想要的绘图方式的格式输出信息。You can use
git shortlog --since="1 month ago"
. Or you can use the--format
option togit log
to output information in a format suitable for how you want to plot things.