KHG420/git-worktree ↗★ 2

dsh-git-worktree

将每个对话绑定到独立的Git工作树与分支 适合需要让多个Agent并行开发同一仓库且互不干扰的研发团队。

包名
dsh-git-worktree
兼容性
待验证
Harness 依赖范围
^0.1.0-rc.6
Cordis 依赖范围
^4.0.1
版本
0.2.0
最近更新
2026年9月19日

同名包的其他仓库

安装

$npx -p @deepseek-ai/dsh dsh plugin --profile web add github:KHG420/git-worktree

配置 / Configuration

profile 行支持以下配置项(均可选) / The profile row accepts (all optional):

- id: git-worktree
  name: dsh-git-worktree
  config:
    worktreesDir: .dsh-wt     # 新工作树的默认父目录 / default parent dir for new worktrees
    timeoutMs: 30000          # 每条 git 命令的超时时间 / per-command git timeout
    stdoutMaxBytes: 1000000   # 捕获 stdout 的上限 / captured stdout cap
    stderrMaxBytes: 65536     # 保留 stderr 摘要的上限 / retained stderr excerpt cap