Git Secret Scrubber v0.1.0
A cross-platform tool to safely remove secret-containing files from Git history.
Features
- 🔍 Automatic Secret Detection — Uses gitleaks to scan git history
- 🎯 Interactive File Selection — Choose which files to clean
- ✅ Verification — Confirms cleanup with gitleaks after completion
- 🌍 Cross-Platform — Windows (PowerShell), Linux, and macOS (Bash)
- 🐍 Auto-Setup — Creates temporary Python venv for git-filter-repo
- 📦 Auto-Download — Downloads gitleaks with SHA256 verification
- 📁 Flexible Input — Support for file lists and text file input
- 📍 Path Argument — Clean any repository without copying scripts
Quick Start
git clone https://github.com/ZarinLab/Git-Secret-Scrubber.git
cd Git-Secret-Scrubber
./clean-secrets.sh /path/to/repo # Linux/macOS
.\clean-secrets.ps1 "C:\path\to\repo" # Windows## Documentation
See the README for full documentation.