LeslieWylie/dsh-checkout-guard ↗★ 0
dsh-checkout-guard
Pre-flight guard for git working copies: is the checkout you are about to write to the one you think it is? Branch identity, drift from the remote and how stale that figure is, the identity your next commit will carry, work already in the index, and duplicate clones of the same repository. Read-only, offline by default, deterministic.
安装
$
npx -p @deepseek-ai/dsh dsh plugin --profile web add github:LeslieWylie/dsh-checkout-guard说明文档
阅读完整 README ↗Configuration
- id: checkout-guard
name: 'dsh-checkout-guard'
config:
roots:
- /Users/you/projects
roots bounds everything the plugin will look at. Unset, it defaults to your
home directory.