add new chinese translations
This commit is contained in:
21
pages.zh/common/git-pr.md
Normal file
21
pages.zh/common/git-pr.md
Normal file
@@ -0,0 +1,21 @@
|
||||
# git pr
|
||||
|
||||
> 在本地检查 GitHub 的拉取请求。
|
||||
> 是 `git-extras` 的一部分。
|
||||
> 更多信息:<https://github.com/tj/git-extras/blob/master/Commands.md#git-pr>。
|
||||
|
||||
- 检出特定的拉取请求:
|
||||
|
||||
`git pr {{pr_number}}`
|
||||
|
||||
- 从特定的远程检出拉取请求:
|
||||
|
||||
`git pr {{pr_number}} {{remote}}`
|
||||
|
||||
- 从其 URL 检出拉取请求:
|
||||
|
||||
`git pr {{url}}`
|
||||
|
||||
- 清理旧的拉取请求分支:
|
||||
|
||||
`git pr clean`
|
Reference in New Issue
Block a user