зеркало из https://github.com/github/docs.git
Merge branch 'main' into patch-1
This commit is contained in:
Коммит
084f40b844
|
@ -53,6 +53,13 @@ When you create a pull request, you can choose to create a pull request that is
|
|||
|
||||
{% 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)."
|
||||
|
||||
### Differences between commits on compare and pull request pages
|
||||
|
||||
The compare and pull request pages use different methods to calculate the diff for changed files:
|
||||
|
||||
- Compare pages show the diff between the tip of the head ref and the current common ancestor (that is, the merge base) of the head and base ref.
|
||||
- Pull request pages show the diff 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. Consequently, the merge base used for the comparison might be different.
|
||||
|
||||
### Further reading
|
||||
|
||||
- "[Pull request](/articles/github-glossary/#pull-request)" in the {% data variables.product.prodname_dotcom %} glossary
|
||||
|
|
Загрузка…
Ссылка в новой задаче