You, being the security focused fanatic, decide to sign git commits. But the manual labor of typing that extra ` -S` is going to drive you up the wall. Not to mention, that horrible public key is so hard to memorize, you’ve given up and simply written it down on a Post-it on your monitor.
Not to worry! With this one simple trick, you’ll never have to type
git -S, ever freaking again.
git config --global commit.gpgsign true // This makes git sign ALL your commits git config --global user.signingkey <KEYHERE> // This makes git use your public key
Forgot your public key?