hav Commit Guard
hav Commit Guard is a VS Code quality gate for staged Git changes.
It scans staged changes before you commit, reporting unresolved TODOs, debug leftovers, merge conflict markers, and matches from custom regex rules.
Features- Scans staged Git changes
- Shows findings in the Problems view
- Shows issue counts in the Status Bar
- Opens issues from a Quick Pick
- Automatically rescans when Git state changes
- Falls back to debounced rescans on file save
- Adds Source Control view title buttons for hook install/remove and one-time bypass/clear
- Can install or remove an optional Git
pre-commithook to block commits with errors - Can arm or clear a one-time VS Code bypass for the next commit
- English and German messages for the UI and hook CLI
- Configurable rules
- Repository-level hook configuration via
.hav-commit-guard.json
Install the extension from the Visual Studio Code Marketplace.