Skip to content

Instantly share code, notes, and snippets.

@iamcryptoki
Last active November 11, 2019 15:47
Show Gist options
  • Save iamcryptoki/9676828eca766490391a177b19a96b2f to your computer and use it in GitHub Desktop.
Save iamcryptoki/9676828eca766490391a177b19a96b2f to your computer and use it in GitHub Desktop.
Configure Git to sign commits and tags using GPG.
git config --global user.signingKey <PASTE_YOUR_KEY_ID_HERE>
git config --global commit.gpgsign true
git config --global tag.gpgsign true
@codekandis
Copy link

codekandis commented Nov 7, 2017

@hannesvdvreken While I found commit.gpgsign I tried tag.gpgsign intentionally and
had not luck as you hadn't. After digging I come to the conclusion there
is no config like that.
http://disq.us/p/1mhd62s

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