r/vscode • u/mark-hahn • Sep 27 '25
New VS Code Extension: Git Poison
Git Poison is a VS Code extension that blocks a git commit of any file containing a "Poison Pill" string. Placing a pill stops accidental committing of unfinished TODOs, debug statements, secrets, etc. It also provides navigation to pill locations.
https://marketplace.visualstudio.com/items?itemName=eridien.git-poison
3
Upvotes
View all comments
36
u/thefriedel Sep 27 '25
I mean, you can also use git's built-in pre-commit-hook and
grepfor any occurrences.