From 3d353a5ca1504f3c54a8c9277ea9ad44164f2c8e Mon Sep 17 00:00:00 2001 From: admin Date: Mon, 30 Mar 2026 09:54:25 +0800 Subject: [PATCH] update git clone command --- openclaw/knowledgebase/Gitea + SSH 完整配置指南(含排错).md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/openclaw/knowledgebase/Gitea + SSH 完整配置指南(含排错).md b/openclaw/knowledgebase/Gitea + SSH 完整配置指南(含排错).md index a4d42915..44330c56 100644 --- a/openclaw/knowledgebase/Gitea + SSH 完整配置指南(含排错).md +++ b/openclaw/knowledgebase/Gitea + SSH 完整配置指南(含排错).md @@ -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`