dsh-git-worktree
将每个对话绑定到独立的Git工作树与分支 适合需要让多个Agent并行开发同一仓库且互不干扰的研发团队。
同名包的其他仓库
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:KHG420/git-worktree说明文档
阅读完整 README ↗配置 / 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