列出对 github 中用户的任何存储库(不仅是拥有的存储库)的贡献
我有一个非常简单的问题。我试图找出 github 用户贡献的存储库,但我无法。例如,在此帐户中 https://github.com/goodfeli。如何查看该用户贡献的所有存储库?
通过单击存储库,我只能列出该用户创建的存储库。此外,我知道固定存储库可以显示该用户贡献的任何存储库,但最多只能列出 6 个。所以我可以弄清楚如何列出所有这些存储库。
I have a very simple question. I am trying to figure out the repositories a github user has contributed to and I am unable. So for example in this account https://github.com/goodfeli. How can I check all the repositories this user has contributed to?
By clicking into repositories I can only list the repositories created by this user. Moreover, I know the pinned repositories can show any repository this user has contributed to but it can only list up to 6. So I can figure out how to list them all.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
您可以使用 GraphQL API 来获取用户为不同类别做出贡献的 100 个存储库。这将显示可通过您正在验证的令牌访问的存储库。
这是一个查询(将 octocat 替换为用户的登录名):
最简单的方法是使用 GitHub 的 GraphQL Explorer 您可以在其中优化/调整您的查询。
您在问题中提到的用户显然没有我的经过身份验证的用户可以访问的贡献,因此结果为空:
You can use the GraphQL API to get up to 100 repositories where a user contributed to for various categories. This displays repositories that are accessible by the token you are authenticating with.
Here is a query (replace
octocat
with the login of the user):The simplest way is to use GitHub's GraphQL Explorer where you can refine/adjust your query.
The user you are mentioning in your question apparently has no contributions that are accessible with my authenticated user, thus the result is empty: