有没有办法获得git仓库的下载/克隆统计信息? [英] Is there a way to get download/clone statistics of a git repository?
本文介绍了有没有办法获得git仓库的下载/克隆统计信息?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有什么办法可以获得从github克隆或下载git仓库的次数?
我只是好奇,因为我发现其他统计信息,例如使用以下代码生成代码行: http://gitstats.sourceforge。净/ ,但我没有找到如何检查克隆/下载计数。
Is there any way to get how many times a git repository has been cloned or downloaded from github? I was just curious as I found other statistics such as commit times lines of codes cam be generated using: http://gitstats.sourceforge.net/ but I did not find how to check for clone/download count.
推荐答案
克隆是一种只读操作,原始存储库未被修改。您无法为统计数据提取简单的数据。
Cloning is a read-only operation, the original repository isn't modified. There is no way you can pull statistics for data that simply isn't tracked.
这篇关于有没有办法获得git仓库的下载/克隆统计信息?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文