git-workflowsdevops
git-safety-guard
Blocks destructive git and filesystem commands before execution. Prevents accidental loss of uncommitted work from git checkout --, git reset --hard, rm -rf, and similar destructive operations. Works as a Codex CLI PreToolUse hook with fail-open semantics.
maintainer
terraphim
اپ ڈیٹ ہوا 1/10/2026
اسٹارز
1
فورکس
0
quick start
Installation and usage
Blocks destructive git and filesystem commands before execution. Prevents accidental loss of uncommitted work from git checkout --, git reset --hard, rm -rf, and similar destructive operations. Works as a Codex CLI PreToolUse hook with fail-open semantics.
انسٹالیشن
$ install --globalskills.sh
استعمال
انسٹال کرنے کے بعد، آپ یہ اسکل ٹرمینل میں درج ذیل کمانڈ چلا کر استعمال کر سکتے ہیں:
skills use git-safety-guard