pages.zh: update outdated pages (#11939)

This commit is contained in:
Sebastiaan Speck
2024-01-01 10:38:53 +01:00
committed by GitHub
parent ef0f5499ad
commit 81ddb70476
59 changed files with 125 additions and 205 deletions

View File

@@ -3,10 +3,6 @@
> 克隆现有的代码库。
> 更多信息:<https://git-scm.com/docs/git-clone>.
- 克隆一个现有的代码库:
`git clone {{远程代码库地址}}`
- 克隆一个现有的代码库到指定文件夹:
`git clone {{远程代码库地址}} {{路径/到/文件夹}}`
@@ -17,11 +13,11 @@
- 克隆一个本地的代码库:
`git clone -l {{路径/到/本地/代码库名}}`
`git clone --local {{路径/到/本地/代码库名}}`
- 静默克隆,不打印任何日志:
`git clone -q {{远程代码库地址}}`
`git clone --quiet {{远程代码库地址}}`
- 克隆一个现有的代码库只获取默认分支上10个最新的提交对节省时间很有用