1
0
mirror of synced 2025-12-19 18:10:59 -05:00
Files
docs/content/get-started/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests.md

1.2 KiB

title, intro, product, versions, redirect_from, topics
title intro product versions redirect_from topics
Using keywords in issues and pull requests Use keywords to link an issue and pull request or to mark an issue or pull request as a duplicate. {% data reusables.gated-features.markdown-ui %}
fpt ghes ghec
* * *
/github/writing-on-github/working-with-advanced-formatting/using-keywords-in-issues-and-pull-requests
Issues
Pull requests

Linking a pull request to an issue

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. For example, Closes #10 or Fixes octo-org/octo-repo#100.

  • close
  • closes
  • closed
  • fix
  • fixes
  • fixed
  • resolve
  • resolves
  • resolved

For more information, see AUTOTITLE.

Marking an issue or pull request as a duplicate

To mark an issue or pull request as a duplicate, type "Duplicate of" followed by the issue or pull request number it duplicates in the body of a new comment. For more information, see AUTOTITLE.