git*: update outdated pages, fix English pages (#14149)

This commit is contained in:
Sebastiaan Speck
2024-10-13 10:26:47 +02:00
committed by GitHub
parent 896e024860
commit f21fa6a211
96 changed files with 302 additions and 302 deletions

View File

@@ -4,18 +4,6 @@
> 类似如 `commit`、`add`、`branch`、`checkout`、`push` 等子命令都有自己的使用文档,可以通过 `tldr git {{子命令}}` 的形式查阅。
> 更多信息:<https://git-scm.com/>.
- 检查 git 的版本号:
`git --version`
- 显示帮助文档:
`git --help`
- 显示 git 子命令的详细帮助文档(如 `clone`, `add`, `push`, `log` 等子命令):
`git help {{子命令}}`
- 执行 git 的子命令:
`git {{子命令}}`
@@ -27,3 +15,15 @@
- 在给定参数条件下,执行 git 的子命令:
`git -c '{{配置项}}={{值}}' {{子命令}}`
- 显示帮助文档:
`git --help`
- 显示 git 子命令的详细帮助文档(如 `clone`, `add`, `push`, `log` 等子命令):
`git help {{子命令}}`
- 检查 git 的版本号:
`git --version`