CommitSieve VS Code Extension Catches Secrets and Junk Files Before You Commit
A developer has released CommitSieve, a free, open-source VS Code extension designed to flag problematic staged changes before a Git commit is made. The tool scans only newly added lines in staged diffs, warning users about sensitive files such as .env, credentials, and private keys, as well as noise like node_modules and large binaries. It also detects focused test cases like it.only that can silently skip entire test suites in CI pipelines. The extension requires no setup, collects no telemetry, and displays issues directly in VS Code's status bar and Problems panel with one-click Unstage and Add to .gitignore options. The developer notes it warns rather than blocks commits, recommending users also maintain a Git hook or CI scanner as a hard enforcement layer.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.


Discussion (0)
Log in to join the discussion and vote.
Log in