Hermannmayer/dsh-worktree-bar ↗★ 0
dsh-worktree-bar
在输入框上方显示工作区与Git分支状态 适合需要在Web UI中直观查看和快速切换Git分支与工作区的开发者。
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:Hermannmayer/dsh-worktree-bar说明文档
阅读完整 README ↗Configuration
The row accepts these optional keys in cordis.patch.yml; the defaults are the documented behavior.
| Field | Default | Meaning |
|---|---|---|
worktreeDir | .dsh/worktrees | Parent directory for created worktrees, relative to the main checkout (an absolute path is used as is). |
branchPrefix | worktree- | Branch name prefix for created worktrees. |
baseRef | HEAD | Commit-ish a new worktree branches from. |
excludeFromGit | true | Append the worktree directory to .git/info/exclude, so the main checkout does not report every worktree as untracked. |
conventionFile | dsh-worktree.json | The project convention file's name. |
pollMs | 15000 | Client refresh interval in milliseconds; 0 disables polling and leaves the row to the refresh on focus. |
Example override:
- id: worktree
name: 'dsh-worktree-bar'
config:
worktreeDir: ../worktrees
conventionFile: .worktree-setup.json
pollMs: 30000