Pav*_*kin 4 terminology github pull-request
创建拉取请求和打开拉取请求之间有区别吗?
创建拉取请求的一些短语示例:
打开拉取请求的一些短语示例:
PS 在我看来,创建拉取请求后,它变成:
open。逻辑上的意思是:
首先必须创建拉取请求。
然后,拉取请求可以根据需要多次打开(其状态为open)或关闭(其状态为)。closed
结果是,从技术上讲,打开拉取请求并不意味着创建拉取请求。
创建拉取请求和打开拉取请求含义相同,只是使用不同的动词来指示 PR(拉取请求)的创建。您唯一的困惑是由于您open是 PR 的州之一。
当你说
逻辑上的意思是:
首先必须创建拉取请求。
然后,拉取请求可以根据需要多次打开(其状态为打开)或关闭(其状态为关闭)。
it doesn't necessarily mean that step 1 is creation and step 2 is opening of a PR, but actually when a PR is created or opened it has open as its state by default. The state is GitHub's internal construct to manage the state of a PR, ie if it's open or closed (closed can mean the PR is either just closed or merged).
An open PR can be closed or merged, thereby changing its state from open to closed
A PR which is closed (and not merged) can be reopened thereby changing its state from closed to open.
So technically speaking, open a pull request and create a pull request mean the same. Opening a PR which is closed and not yet merged is meant by Reopening a pull request.
| 归档时间: |
|
| 查看次数: |
2153 次 |
| 最近记录: |