Software Development
Git Guardrails Claude Code
设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。
- Publisher / source
- vinvcn/mattpocock-skills-zh-CN (found on skills.sh)
- Upstream record
- vinvcn/mattpocock-skills-zh-CN
- Version
- Version 1
- Published
- Publication review
- Approved for publication
- Content fingerprint
3bfcf331a62cc940e2dfd48e0109356507eca24084bdba603c205233a839c310