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

@@ -0,0 +1,32 @@
# gh 配置
> 更改 GitHub CLI 的配置。
> 更多信息:<https://cli.github.com/manual/gh_config>。
- 显示正在使用的 Git 协议:
`gh config get git_protocol`
- 将协议设置为 SSH
`gh config set git_protocol {{ssh}}`
- 在并排模式下使用 `delta` 作为所有 `gh` 命令的默认分页器:
`gh config set pager '{{delta --side-by-side}}'`
- 将文本编辑器设置为 Vim
`gh config set editor {{vim}}`
- 重置为默认文本编辑器:
`gh config set editor ""`
- 禁用交互式提示:
`gh config set prompt {{disabled}}`
- 设置特定的配置值:
`gh config set {{key}} {{value}}`