简体   繁体   English

在Github上,我永久删除了一个文件并删除了所有提交历史记录,但是指向提交的链接仍然有效,是否也可以删除链接?

[英]On Github, I permanently deleted a file and removed all commit history, yet the link to the commit still works, is there a way to remove the link too?

I've followed instructions on github's website to permanently remove a file and all commits associated with it. 我已经按照github网站上的说明永久删除了文件以及与之关联的所有提交。 I've tried every option, but when I type in the link to the commit, such as: 我已经尝试了所有选项,但是当我键入提交的链接时,例如:

https://github.com/{username}/{folder}/commit/{commit_id}

the history still appears there, even though my profile has no trace of this commit anymore. 即使我的个人资料不再有此提交的痕迹,历史记录仍会显示在此处。

This leads me to think that any changes are permanently left on Github, just that it is unlinked to your profile? 这使我认为,任何更改都永久保留在Github上,只是未与您的个人资料相关联吗? Am I doing something incorrect or is this the reality of the situation? 我是在做不正确的事情,还是现实情况? Thanks. 谢谢。

Am I doing something incorrect or is this the reality of the situation? 我是在做不正确的事情,还是现实情况?

It is the situation, and what allows me to benefit from a poor man reflog (using past push event to retrieve a commit deleted locally) 正是这种情况,这使我受益于可怜的人reflog (使用过去的push事件来检索在本地删除的提交)

You would need to contact GitHub support to request a full gc in your remote repo. 您需要联系GitHub支持以在远程仓库中请求完整的gc。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM