lengrufeng2008/dsh-worktree ↗★ 0

dsh-worktree

Read-only worktree listing for DSH plus CLI create/remove/prune for isolated git worktrees.

パッケージ
dsh-worktree
互換性
未検証
バージョン
0.1.0
ライセンス
MIT
最終更新
2026/11/01

同名パッケージの別リポジトリ

インストール

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

ドキュメント

README 全文を読む ↗

Worktree for DSH

List git worktrees read-only in DSH; create/remove/prune via CLI for isolated experiments.

Use

node bin/dsh-worktree.mjs list --root .
node bin/dsh-worktree.mjs create --root . --path ../exp --branch exp-1
node bin/dsh-worktree.mjs remove --root . --path ../exp
node bin/dsh-worktree.mjs prune --root .

In DSH:

Use worktree_list on this repository.

Safety

  • Read-only DSH tool; create/remove are CLI-only.
  • Refuses existing target path and unsafe branch names.
  • remove refuses dirty worktrees unless --force.
  • No branch deletion, no test execution.