Skip to content

Instantly share code, notes, and snippets.

@Ruben-E
Forked from lucko/auto-sign-commits-mac.md
Created November 7, 2017 07:00
Show Gist options
  • Save Ruben-E/9306a0666a1d9c3a3ffe710383551112 to your computer and use it in GitHub Desktop.
Save Ruben-E/9306a0666a1d9c3a3ffe710383551112 to your computer and use it in GitHub Desktop.
Auto-sign commits with IntelliJ on MacOS

brew install gnupg gnupg2 pinentry-mac
git config --global user.signingkey <key>
git config --global commit.gpgsign true
git config --global gpg.program gpg
nano ~/.gnupg/gpg.conf

no-tty

nano ~/.gnupg/gpg-agent.conf

pinentry-program /usr/local/bin/pinentry-mac
@Ruben-E
Copy link
Author

Ruben-E commented Nov 7, 2017

gpgconf --kill gpg-agent might be needed to load new settings

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment