跳至主要内容

使用已保存的回复

在对议题或拉取请求发表评论时,您可以添加已预先设置好的已保存回复。已保存的回复可以是完整的评论,若想自定义,也可以添加或删除内容。

  1. 在 GitHub 上,导航至仓库的主页面。

  2. 在仓库名称下方,点击 议题 拉取请求

    Screenshot of the main page of a repository. In the horizontal navigation bar, the "Issues" and "Pull requests" tabs are outlined in orange.

  3. 点击所需的议题或拉取请求。

  4. 要添加已保存的回复,请在评论框上方选择.

    Screenshot of a GitHub comment box. On the toolbar, a reply button with a left-facing curved arrow is outlined in dark orange.

  5. 从列表中选择您想添加到评论中的已保存回复。您也可以自行编辑已保存回复的内容。

  6. 选择 评论 来添加您的评论。

提示

  • 您可以使用键盘快捷键自动填充已保存的回复到评论中。欲了解更多信息,请参阅 键盘快捷键
  • 您可以通过输入已保存回复的标题来筛选列表。

延伸阅读

© . This site is unofficial and not affiliated with GitHub, Inc.