从 GitHub 删除已关闭的拉取请求 [英] Delete a closed pull request from GitHub

查看:64
本文介绍了从 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?

推荐答案

您无法自己删除拉取请求——您和存储库所有者(以及所有具有推送访问权限的用户)它)可以关闭它,但它会保留在日志中.这是不否认/隐藏开发过程中发生的事情的理念的一部分.

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

更新:目前 Github 要求在此处创建支持请求:https://support.github.com/contact

UPDATE: Currently Github requires support requests to be created here: https://support.github.com/contact

这篇关于从 GitHub 删除已关闭的拉取请求的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆