Automatically Sign Commits Using GPG Suite on macOS
To make my commits marked as “verified” on GitHub, I tried to sign them locally using GPG. It worked fine using the following command line command:
1 | > git commit -S -m your commit message |
But when I tried to sign commits within JetBrains IDEs, like Clion, things did not work out so easily. JetBrains IDEs do not provide native supports/integrations for GPG. So I need to make use of GPG Suite to sign commits automatically without being prompted for password from the terminal. This post records how to do so.