Hermannmayer/dsh-worktree-bar ↗★ 0

dsh-worktree-bar

在输入框上方显示工作区与Git分支状态 适合需要在Web UI中直观查看和快速切换Git分支与工作区的开发者。

套件
dsh-worktree-bar
相容性
待驗證
Harness 依賴範圍
^0.1.7-rc.1
版本
0.1.0
授權
MIT
最近更新
2026年9月25日

安裝

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

Configuration

The row accepts these optional keys in cordis.patch.yml; the defaults are the documented behavior.

FieldDefaultMeaning
worktreeDir.dsh/worktreesParent directory for created worktrees, relative to the main checkout (an absolute path is used as is).
branchPrefixworktree-Branch name prefix for created worktrees.
baseRefHEADCommit-ish a new worktree branches from.
excludeFromGittrueAppend the worktree directory to .git/info/exclude, so the main checkout does not report every worktree as untracked.
conventionFiledsh-worktree.jsonThe project convention file's name.
pollMs15000Client 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