-
Notifications
You must be signed in to change notification settings - Fork 63.3k
Closed
Labels
code securityContent related to code securityContent related to code securitycontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamwaiting for reviewIssue/PR is waiting for a writer's reviewIssue/PR is waiting for a writer's review
Description
Code of Conduct
- I have read and agree to the GitHub Docs project's Code of Conduct
What article on docs.github.com is affected?
What part(s) of the article would you like to see updated?
These sections of these two pages refer to Git refs named refs/pulls/<PR-NUMBER>/xyz
:
For the head commit of a pull request, use
refs/pulls/NUMBER/head
. For a GitHub-generated merge commit of a pull request, userefs/pulls/NUMBER/merge
.
However all other documentation pages refer to similar refs as refs/pull/NUMBER/head
(respectively …/merge
) with …/pull/…
singular. In extant repositories, it appears that refs/pull/NUMBER/xyz
exists while refs/pulls/NUMBER/xyz
does not.
Unless these two pages are confusingly referring to something else (e.g., a REST API call), it would appear that these instances of refs/pulls/…
are incorrect.
Metadata
Metadata
Assignees
Labels
code securityContent related to code securityContent related to code securitycontentThis issue or pull request belongs to the Docs Content teamThis issue or pull request belongs to the Docs Content teamwaiting for reviewIssue/PR is waiting for a writer's reviewIssue/PR is waiting for a writer's review