add new chinese translations

This commit is contained in:
2024-12-30 15:25:56 +08:00
parent a850046d7b
commit 0d798759fd
5418 changed files with 105800 additions and 7052 deletions

View File

@@ -1,32 +1,32 @@
# gh repo
> 在命令行上操作 GitHub 仓库
> 更多信息:<https://cli.github.com/manual/gh_repo>.
> GitHub 存储库进行交互
> 更多信息:<https://cli.github.com/manual/gh_repo>
- 创建一个新的库(如果没有设置仓库名称,默认将为当前目录的名称):
- 创建一个新的存储库(如果未设置存储库名称,默认名称将为当前目录的名称):
`gh repo create {{名称}}`
`gh repo create {{name}}`
- 克隆一个库:
- 克隆一个存储库:
`gh repo clone {{拥有者}}/{{仓库}}`
`gh repo clone {{owner}}/{{repository}}`
- 复刻并克隆一个库:
- 派生并克隆一个存储库:
`gh repo fork {{拥有者}}/{{仓库}} --clone`
`gh repo fork {{owner}}/{{repository}} --clone`
- 在默认的网络浏览器中查看一个库:
- 在默认网页浏览器中查看一个存储库:
`gh repo view {{仓库}} --web`
`gh repo view {{repository}} --web`
- 列出特定用户或组织拥有的库(如果未设置有者,默认有者将是当前登录用户):
- 列出特定用户或组织拥有的存储库(如果未设置有者,默认有者当前登录用户):
`gh repo list {{拥有者}}`
`gh repo list {{owner}}`
- 仅列出非派生的库,并限制列出的库数量默认30
- 仅列出非派生的存储库,并限制列出的存储库数量默认30
`gh repo list {{拥有者}} --source -L {{限制数量}}`
`gh repo list {{owner}} --source -L {{limit}}`
- 列出具有特定主编程语言的库:
- 列出使用特定主编程语言的存储库:
`gh repo list {{拥有者}} --language {{语言名称}}`
`gh repo list {{owner}} --language {{language_name}}`