KHG420/git-worktree1

dsh-git-worktree

Conversation↔worktree binding for DeepSeek Harness: one-click isolated worktree + branch per conversation, with a binding manager panel

AI Analysis

核心用途是为每个会话一键创建隔离的 Git 工作树和分支,并提供绑定管理面板。适合在使用 DSH 进行代码开发时,需要将会话与独立代码分支进行隔离管理的用户。

Package
dsh-git-worktree
Version
0.2.0
Last updated
Aug 14, 2026

Install

$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