简体   繁体   English

github:如何在github问题中删除附件?

[英]github: how do I delete an attachment in github issues?

I am in need to remove an attachment in github issues. 我需要在github问题中删除附件。 How do I do this. 我该怎么做呢。 When you remove the issue comment, the attachment is still in github. 当您删除问题评论时,附件仍在github中。 How can I explicitly target to remove an attachment? 如何明确定位删除附件?

The format of such attachments is 这种附件的格式是

https://github.com/<projectname>/<repo>/files/<somenumber>/<filename>.txt https://github.com/<projectname>/<repo>/files/<somenumber>/<filename>.txt

Simple git rm does not work. 简单的git rm不起作用。

It's not possible currently. 目前不可能。 GitHub allows you, to attach files ( pdf , docx etc.) in comments, but there is no way to delete them. GitHub允许您在评论中附加文件( pdfdocx等),但无法删除它们。

The behavior is similar to images: you can upload it, but you can't delete it from their cloud. 行为类似于图像:您可以上传它,但不能从云中删除它。


Just in case you uploaded a file that really needs to be deleted, there is always a GitHub Support . 如果你上传了一个真正需要删除的文件,总会有一个GitHub支持

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

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