github - 如何获取 GitHub 克隆统计信息?

标签 github statistics

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.

https://cloud.githubusercontent.com/assets/395621/3867646/2c340b8a-2009-11e4-8823-9ddda44b51e0.png_git clones traffic graph

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/

相关文章:

python - Scipy正常的pdf评估给出了矛盾的值

r - 稳定分布对数似然和 AIC 值

Git 交互式 rebase 没有删除我的其他提交

git - 我如何在pycharm中重新连接我的头?

python - 找出数据集中哪些特征共线

python - 解释来自 RandomForestClassifier 的特征重要性值

Ruby 曲线拟合(对数回归)包

github - bower ECMDERR 无法执行 "git ls-remote --tags --heads > git@github.om:mobify/bellows.git",退出代码为 #128

github - 如何提交有关 github.com 的错误或功能请求——就像在 github 中一样?

github - 如何在 github 操作中获取拉取请求中的文件列表