Git Guardrails Claude Code

by vinvcnbf98e53f9208No license4.6K starsListed Oct 8, 2026Updated Oct 8, 2026Repository updated today

设置 Claude Code hooks,在危险 git commands(push、reset --hard、clean、branch -D 等)执行前阻止它们。适用于用户想防止破坏性 git 操作、添加 git safety hooks,或在 Claude Code 中阻止 git push/reset 时。

Includes scriptsSecurityDevOps & Cloud
  1. bf98e53f9208Currentcommit bf98e53Published Oct 8, 2026
  2. 3f92a83668efcommit 3f92a83Published Oct 8, 2026

Source and attribution

Source:vinvcn/mattpocock-skills-zh-cninskills/misc/git-guardrails-claude-codeat commitbf98e53

License: No license

Content belongs to its original authors. SourceWeft indexes it from a public repository.

Report or request removal