Skip to content

Instantly share code, notes, and snippets.

@dlucian
Created May 23, 2018 05:59
Show Gist options
  • Save dlucian/d1f31ae3194ae2248198af72b3ab73b8 to your computer and use it in GitHub Desktop.
Save dlucian/d1f31ae3194ae2248198af72b3ab73b8 to your computer and use it in GitHub Desktop.
Setup GPG with GitHub Desktop

Via Daniel Müller:

On Mac OS X you could do:

echo no-tty >> ~/.gnupg/gpg.conf
git config --global gpg.program $(which gpg)
git config --global commit.gpgsign true

On Windows it would probably be something like this (untested):

sed -i '/^no-tty/d' ~/.gnupg/gpg.conf
git config --global --unset gpg.program
git config --global commit.gpgsign true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment