git 是否可以找到在 GitHub 上查看过我的项目的用户?
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/15181453/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me):
StackOverFlow
Is it possible to find out the users who have checked out my project on GitHub?
提问by user1998981
I'm wondering if there is any way to know who has checked out my project hosted on GitHub? This would include people who have forked the project directly on GitHub, as well as people who may have cloned the repository using standard git clone
commands.
我想知道是否有任何方法可以知道谁检查了我托管在 GitHub 上的项目?这将包括直接在 GitHub 上 fork 项目的人,以及可能使用标准git clone
命令克隆存储库的人。
回答by ajshort
If by "checked out" you mean people who have cloned your project, then no it is not possible. You don't even need to be a GitHub user to clone a repository, so it would be infeasible to track this.
如果“签出”是指克隆了您的项目的人,那么不,这是不可能的。您甚至不需要成为 GitHub 用户即可克隆存储库,因此无法对其进行跟踪。
回答by Todd A. Jacobs
Use the GitHub Network Graph to Track Forks
使用 GitHub 网络图跟踪分叉
You have no way to see who has checked out your repository using standard git commands such as git clone
, but you cansee who has forked your repository on GitHub using the Network Graph Visualizer. At the time of this answer, you can access this feature in at least two ways:
您无法使用标准 git 命令(例如 )查看谁已签出您的存储库git clone
,但您可以使用Network Graph Visualizer查看谁在 GitHub 上分叉了您的存储库。在此回答时,您至少可以通过两种方式访问此功能:
- From the "Network" tab just to the right of the "Code" tab on the navigation bar at the top of your repository.
- By clicking on the numbers (if non-zero) in the call-out just to the right of the "Fork" widget on the right-hand side.
- 从存储库顶部导航栏上“代码”选项卡右侧的“网络”选项卡。
- 通过单击右侧“叉”小部件右侧的标注中的数字(如果非零)。
For example, here is a partial screenshot of the rbenv network graph:
例如,这里是rbenv 网络图的部分截图:
The "Members" tab at the top of the Network Graph will also show you a different view, listing the names of the people who currently have forks on GitHub. It obviously will not show people who cloned outside of GitHub, or folks who have subsequently deleted their forks.
网络图顶部的“成员”选项卡还将向您显示不同的视图,列出当前在 GitHub 上进行分叉的人员的姓名。它显然不会显示在 GitHub 之外克隆的人,或者随后删除了他们的分叉的人。
回答by Nikita P
I believe this is an old question, and the Traffic was introduced by Github in 2014. Here is the linkto the description of Traffic, that tells you the views on your repositories.
我相信这是一个老问题,Traffic 是在 2014 年由 Github 引入的。这是Traffic 描述的链接,它告诉您对存储库的看法。
回答by Atul Kumar
Go to the traffic section inside graphs. Here you can find how many unique visitors you have. Other than this there is no other way to know who exactly viewed your account.
转到图表内的交通部分。在这里您可以找到您有多少独立访客。除此之外,没有其他方法可以知道究竟是谁查看了您的帐户。