Skip to content

Instantly share code, notes, and snippets.

@inureyes
Forked from lucko/auto-sign-commits-mac.md
Created February 20, 2020 03:03
Show Gist options
  • Save inureyes/de509b4b6eeeb1238641692c766679d9 to your computer and use it in GitHub Desktop.
Save inureyes/de509b4b6eeeb1238641692c766679d9 to your computer and use it in GitHub Desktop.
Auto-sign commits with IntelliJ on MacOS

Run:

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

Followed by:

  • nano ~/.gnupg/gpg.conf
no-tty
  • nano ~/.gnupg/gpg-agent.conf
pinentry-program /usr/local/bin/pinentry-mac
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment