update git clone command

This commit is contained in:
2026-03-30 09:54:25 +08:00
parent 881d74e320
commit 3d353a5ca1

View File

@@ -257,7 +257,7 @@ Host macmini
## 2. 使用简化地址
```bash
git clone git@macmini:admin/nexus.git
git clone ssh://git@192.168.3.45:2222/admin/nexus.git
```
---
@@ -404,7 +404,7 @@ Host 192.168.3.189
以后只需执行简单的命令Git 会自动映射 `git` 用户和 `2222` 端口:
- `git clone 192.168.3.189:admin/nexus.git`
- `git clone ssh://git@192.168.3.45:2222/admin/nexus.git`
- `git pull`