1
0
mirror of synced 2026-01-07 00:01:39 -05:00

Merge pull request #17427 from Rick-Anderson/patch-2

Style guide fixes to linking-a-pull-request-to-an-issue.md
This commit is contained in:
mc
2022-05-12 11:51:04 +01:00
committed by GitHub

View File

@@ -34,7 +34,7 @@ When you merge a linked pull request into the default branch of a repository, it
## Linking a pull request to an issue using a keyword
You can link a pull request to an issue by using a supported keyword in the pull request's description or in a commit message (please note that the pull request must be on the default branch).
You can link a pull request to an issue by using a supported keyword in the pull request's description or in a commit message. The pull request **must be** on the default branch.
* close
* closes
@@ -46,7 +46,7 @@ You can link a pull request to an issue by using a supported keyword in the pull
* resolves
* resolved
If you use a keyword to reference a pull request comment in another pull request, the pull requests will be linked. Merging the referencing pull request will also close the referenced issue.
If you use a keyword to reference a pull request comment in another pull request, the pull requests will be linked. Merging the referencing pull request also closes the referenced pull request.
The syntax for closing keywords depends on whether the issue is in the same repository as the pull request.
@@ -60,7 +60,6 @@ Multiple issues | Use full syntax for each issue | `Resolves #10, resolves #123,
You can also use closing keywords in a commit message. The issue will be closed when you merge the commit into the default branch, but the pull request that contains the commit will not be listed as a linked pull request.
{% ifversion fpt or ghes or ghae or ghec %}
## Manually linking a pull request to an issue