I removed my email and nick from gitconfig, but it's still able to commit
<p>I've removed my credentials from <code>~/.gitconfig</code>, but when I run <code>git commit -m "some crap"</code> it still commits with my name.</p>

<p>How can I stop it from being able to commit? I need to test some feature in my program where it requires a <code>git commit</code>command to fail.</p>