Co-authored-by: Matt Pollard <mattpollard@users.noreply.github.com> Co-authored-by: Grace Park <gracepark@github.com> Co-authored-by: Steve Guntrip <12534592+stevecat@users.noreply.github.com> Co-authored-by: Robert Sese <sese@github.com> Co-authored-by: Peter Bengtsson <peterbe@github.com> Co-authored-by: Rachael Sewell <rachmari@github.com>
1.2 KiB
1.2 KiB
title, intro, versions, topics
| title | intro | versions | 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. |
|
|
Linking a pull request to an issue
To link a pull request to an issue to{% ifversion fpt or ghes or ghae or ghec %} show that a fix is in progress and to{% endif %} 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 "Linking a pull request to an issue."
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 "Marking issues or pull requests as a duplicate."