git 如何在不提交的情况下关闭 GitHub 问题?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/34010565/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-09-19 11:35:10  来源:igfitidea点击:

How do I close a GitHub issue without making a commit?

gitgithub

提问by Person

I thought there would be a simple way to do this, but I'm really having a hard time finding any answers in any search I make. I have some issues that I need to close because we decided that it is not really an issue, so I need to close it. I already know how to close an issue with commit message, but I can't find any other way to do this.

我以为会有一个简单的方法来做到这一点,但我真的很难在我所做的任何搜索中找到任何答案。我有一些问题需要关闭,因为我们认为这不是真正的问题,所以我需要关闭它。我已经知道如何通过提交消息关闭问题,但我找不到任何其他方法来做到这一点。

回答by Lucas Bonner

You can close an issue through the GitHub web interface when you're viewing the issue. The "Close Issue" button is to the left of the "comment" button under the comment box. I believe you need to be a collaborator on a repo to close an issue.

您可以在查看问题时通过 GitHub Web 界面关闭问题。“关闭问题”按钮位于评论框下方“评论”按钮的左侧。我相信您需要成为回购协议的合作者才能解决问题。

Close GitHub Issue

关闭 GitHub 问题