在我的github帐户中看到不需要的Git存储库 [英] Unwanted Git Repository seen in my github account
问题描述
我在存储库列表中看到一个不需要的存储库
I am seeing an unwanted repository in my repository list
存储库名称: MicrosoftDocs/azure-docs
- 我还没有分叉这个仓库
- 我不是该存储库的贡献者
- 我不是该组织的成员
但是我已经在这个项目中打开了一个问题.是这个原因吗?
However I have opened an issue in this project. Is that the reason?
如何停止显示此存储库?
How can I stop this repository appearing ?
推荐答案
这是因为它是您最近添加的存储库.据我所知,以下内容可以算作贡献:
It's because it's a repository you have contributed to recently. As far as I know, the following could count as a contribution :
- 您已在此仓库上创建了一个问题
- 您已在此仓库上创建了拉取请求
- 您已经查看了此仓库中的拉动请求
- 您已经为此仓库创建了一个提交
You can get a glimpse of what could be a contribution here
当您访问 https://github.com <时,我没有找到存储库清单中列出的内容的任何文档./a>.看来它具有以下功能:
I didn't found any documentation of what is listed in the repositoy listing when you go to https://github.com. It seems it features :
- 您拥有的存储库(用户存储库)
- 您最近对存储库做出了贡献的存储库
在您的情况下,似乎是您在存储库中创建了一个问题.我的猜测是,如果您不再为该项目做出新的贡献,它将在6个月后(根据我的见识)从您的列表中消失.
In your case it seems to be that you've created an issue in the repo. My guess is that it will disappear from your listing after 6 months (from what I've seen myself) if you don't make new contribution to this project anymore
此外,您可以使用此请求通过GraphQL API请求您贡献的存储库(来自浏览器):
Also, the repositories you have contributed to can be requested via the GraphQL API using this request (from the explorer):
{
user(login: "forvaidya") {
repositoriesContributedTo(first: 100, contributionTypes: [ISSUE, COMMIT, PULL_REQUEST, REPOSITORY, PULL_REQUEST_REVIEW]) {
nodes {
nameWithOwner
}
}
}
}
上述请求的结果似乎还要求提供X个月以上的捐款(在Github Web UI上)
The result of the above request seems to request also contributions older than X months (on Github Web UI)
这篇关于在我的github帐户中看到不需要的Git存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!