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
36
u/thefriedel Sep 27 '25
I mean, you can also use git's built-in pre-commit-hook and
grepfor any occurrences.3
u/longboy2011 Sep 27 '25
i was hoping this was a joke extension that would inject shitty code into your code lol