grf_add
Add a Git repository as a reference repo for AI assistants by providing its URL, branch, and optional shallow clone depth.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| url | Yes | Git 仓库 URL(支持 HTTPS 和 SSH 格式) | |
| name | No | 自定义仓库名称 | |
| depth | No | 浅克隆深度(默认: 1) | |
| branch | No | 指定分支 | |
| shallow | No | 是否浅克隆(默认: true) |