Skip to content

Commit 41f942d

Browse files
authored
Update about-pull-requests.md
1 parent 299cc7f commit 41f942d

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

content/github/collaborating-with-issues-and-pull-requests/about-pull-requests.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,10 @@ When you create a pull request, you can choose to create a pull request that is
5353

5454
{% data reusables.pull_requests.mark-ready-review %} You can convert a pull request to a draft at any time. For more information, see "[Changing the stage of a pull request](/articles/changing-the-stage-of-a-pull-request)."
5555

56+
### Difference between commits on Compare page and Pull Request page
57+
58+
Compare pages show a compare between the tip of the head ref and the current common ancestor (i.e. merge base) of the head and base ref. On the other hand, pull request pages show a compare between the tip of the head ref and the common ancestor of the head and base ref at the time when the pull request was created. In other words, the merge base used for the comparison might be different.
59+
5660
### Further reading
5761

5862
- "[Pull request](/articles/github-glossary/#pull-request)" in the {% data variables.product.prodname_dotcom %} glossary

0 commit comments

Comments
 (0)