Skip to main content

在议题和拉取请求中使用关键字

使用关键字链接议题和拉取请求,或将议题或拉取请求标记为重复。

将拉取请求链接到议题

To link a pull request to an issue to show that a fix is in progress and to automatically close the issue when someone merges the pull request, type one of the following keywords followed by a reference to the issue. 例如 Closes #10Fixes octo-org/octo-repo#100

  • close
  • closes
  • closed
  • fix
  • fixes
  • fixed
  • 解决
  • resolves
  • resolved

更多信息请参阅“将拉取请求链接到议题”。

将议题或拉取请求标记为重复

要将议题或拉取请求标记为重复,请在新评论正文中输入 "Duplicate of",后接它复制的议题或拉取请求编号。 更多信息请参阅“将议题或拉取请求标记为重复”。