Clarify repository access check
This commit is contained in:
@@ -12,15 +12,13 @@
|
|||||||
npx skills add https://git.im0o.top/agent-skills/skills.git
|
npx skills add https://git.im0o.top/agent-skills/skills.git
|
||||||
```
|
```
|
||||||
|
|
||||||
安装程序会让你选择需要的 skills,以及要安装到哪些 agent。
|
安装程序会让你选择需要的 skills,以及要安装到哪些 agent。获取仓库前,可以先运行下面的命令检查本机是否有访问权限:
|
||||||
|
|
||||||
这个仓库是私有仓库,安装时会调用系统 Git。请先确认本机已经配置 `git.im0o.top` 的访问凭据。连接失败时,可以先运行下面的命令检查访问权限:
|
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
git ls-remote https://git.im0o.top/agent-skills/skills.git HEAD
|
git ls-remote https://git.im0o.top/agent-skills/skills.git HEAD
|
||||||
```
|
```
|
||||||
|
|
||||||
命令返回 commit hash 就表示 Git 可以访问这个仓库。
|
命令返回 commit hash 就表示可以继续安装。
|
||||||
|
|
||||||
以后需要拉取新版本时运行:
|
以后需要拉取新版本时运行:
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user