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,29 +1,29 @@
# git
> 分布式版本控制系统。
> 类似如 `commit`、`add`、`branch`、`checkout`、`push` 等子命令都有自己的使用文档,可以通过 `tldr git {{子命令}}` 的形式查阅
> 一些子命令如 `commit`、`add`、`branch`、`checkout`、`push` 等有各自的使用文档
> 更多信息:<https://git-scm.com/>.
- 执行 git 子命令:
- 执行 Git 子命令:
`git {{子命令}}`
`git {{subcommand}}`
- 在自定义的 git 仓库根路径执行子命令:
- 在自定义仓库根路径执行 Git 子命令:
`git -C {{仓库地址}} {{子命令}}`
`git -C {{path/to/repo}} {{subcommand}}`
- 在给定参数条件下,执行 git 子命令:
- 使用给定的配置集执行 Git 子命令:
`git -c '{{配置项}}={{值}}' {{子命令}}`
`git -c '{{config.key}}={{value}}' {{subcommand}}`
- 显示帮助文档
- 显示帮助:
`git --help`
- 显示 git 子命令的详细帮助文档(如 `clone`, `add`, `push`, `log`子命令
- 显示特定子命令的帮助(如 `clone``add``push``log` 等):
`git help {{子命令}}`
`git help {{subcommand}}`
- 检查 git 的版本
- 显示版本:
`git --version`
`git --version`