<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>jsd1982</author><text>I read that as &amp;quot;CLI tool ... accidentally committed to a Git repo,&amp;quot; as in the CLI tool itself committed to a Git repo by accident, and that the CLI tool finds secrets.&lt;p&gt;Title as of my reading was &amp;quot;CLI tool that finds secrets accidentally committed to a Git repo (2017)&amp;quot;.</text><parent_chain></parent_chain></comment><story><title>CLI tool that finds secrets accidentally committed to a Git repo (2017)</title><url>https://github.com/UKHomeOffice/repo-security-scanner</url></story>
<instructions>Your goal is to analyze the following comment and estimate how highly it will be upvoted by the Hacker News community.</instructions><comment><author>amelius</author><text>I&amp;#x27;d like to have some way to prevent certain code from being committed in the first place.&lt;p&gt;E.g. when I have a line saying&lt;p&gt;&lt;pre&gt;&lt;code&gt;    printf(&amp;quot;debug: now at: %d\n&amp;quot;, i); &amp;#x2F;* DONTCOMMIT *&amp;#x2F;
&lt;/code&gt;&lt;/pre&gt;
then when I type &amp;quot;git commit ...&amp;quot;, a script will be invoked that will recognize the &amp;quot;DONTCOMMIT&amp;quot; string, and it will abort the commit.</text><parent_chain></parent_chain></comment><story><title>CLI tool that finds secrets accidentally committed to a Git repo (2017)</title><url>https://github.com/UKHomeOffice/repo-security-scanner</url></story>