Git Safety

Scans, cleans, and prevents secrets in git history across four modes: scan (detect sensitive files in the current state and history), clean (rewrite history to remove secrets using git-filter-repo or BFG), prevent (add .gitignore and pre-commit hooks), and full (all three in sequence). Use when the user asks to check for leaked credentials, scrub a secret from git history, force-push a cleaned repo, set up pre-commit secret prevention, or run a full git security audit.

shipshitdev 591d0bb 3 files · 12.5 KB Updated

File contents

shipshitdev/v0/tree/main/.agents/skills/git-safety commit 591d0bb5fc

Frequently asked questions

npx skillmds@latest add shipshitdev/git-safety-2