Closed
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.