从GitHub中删除一个关闭的拉取请求

问题描述:

我意外地做出了错误的拉取请求,并最终自己关闭了请求。它现在处于关闭状态,但可通过直接URL访问并显示在我的活动栏上。

I accidentally made a wrong pull request and ended up closing the request myself. It's in a closed state right now but it's accessible via direct URL and showing on my activity bar.

是否有任何方法可以完全删除拉取请求,因此不再可访问通过URL或在您的活动历史记录上显示?

Is there any way to delete a pull request completely so it's no longer accessible via URL or shows up on your activity history?

您无法自行删除拉取请求 / em> - 您和回购所有者(以及所有具有推送权限的用户)都可以关闭它,但它仍将保留在日志中。这是不否认/隐瞒开发过程中发生的事情的一部分。

There is no way you can delete a pull request yourself -- you and the repo owner (and all users with push access to it) can close it, but it will remain in the log. This is part of the philosophy of not denying/hiding what happened during development.

但是,如果有删除它的重要原因(这主要是违反Github条款服务),Github的支持人员会为你删除它。

However, if there are critical reasons for deleting it (this is mainly violation of Github Terms of Service), Github support staff will delete it for you.

他们是否愿意为你删除你的PR是你可以轻易问他们的东西,电子邮件地址为support@github.com。

Whether or not they are willing to delete your PR for you is something you can easily ask them, just drop them an email at support@github.com