git-guardrails
配置跨平台、宿主中立的本地 Git 防破坏拦截(阻断强推、硬重置、强制清理与强删分支等不可逆操作)。
Pinned to revision ebb28bc3d6ae, so it is the text this page describes rather than whatever the author pushed since.
Files
- skills/git-guardrails/SKILL.md
- skills/git-guardrails/block-dangerous-git.sh
- skills/git-guardrails/git-guard-shell.sh
- skills/git-guardrails/pre-push-guard.sh
Every link opens the file at its source, pinned to the revision this page describes.