grf_load
Loads a Git repository into your workspace as reference code for AI assistants, with branch or subdirectory selection and optional .gitignore update.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| name | Yes | 仓库名称、简短名称或 Git URL | |
| branch | No | 指定分支(仅对 Git URL 有效) | |
| subdir | No | 只复制指定子目录 | |
| targetPath | No | 目标路径(默认: .gitreference/<repo-path>) | |
| updateGitignore | No | 是否更新 .gitignore(默认: true) | |
| workingDirectory | No | 工作目录(默认: 当前目录) |