GitHub 的“统计和图表”选项卡中曾经有一个“克隆”子选项卡(例如 https://github.com/TeamMentor/TeamMentor-Documentation/graphs/impact ),但现在已经消失了。
还有其他方法来获取这些统计数据吗?
如果我们能得到 Gauges 那就太好了显示 Git 克隆、推送、拉取、GitHub 页面 View 等。
最佳答案
至少关于克隆,您现在(2014 年 8 月 12 日)有一个专用图表。
(2019 年:见解/流量
)
参见“Clone Graphs”
Our traffic graphs tab shows you a lot of information about who's visiting your repository on the web.
We've added a new graph to this tab, showing git clone activity.You can use it to find out:
- how many times your repository's source code is actually cloned in a given day, as well as
- how many unique GitHub users (or anonymous IP addresses) did the cloning.
For more information on traffic graphs, check out the documentation.
请注意,您还可以看到引荐网站和唯一身份访问者
<小时/>2021 年 1 月更新:Dr. Jan-Philip Gehrcke报告于the comments :
For periodically collecting traffic/access data (such as clones, views), I've built a GitHub Action:
jgehrcke/github-repo-stats
:
it automatically:
- persists the data snapshots in a git repository,
- aggregates them, and
- generates a report with charts that then can span the entire data collection period!
Demo report in the README.
关于github - 如何获取 GitHub 克隆统计信息?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/10056638/