Skip to content

Instantly share code, notes, and snippets.

Created September 1, 2022 15:45
What would you like to do?
# you must also upload the public key as signing key to
git config --global user.signingkey '~/.ssh/id_rsa'
git config --global commit.gpgsign true
git config --global gpg.format ssh
# (optional) this file enables `git log --show-signature` and contains email addresses associated with public keys
git config --global gpg.ssh.allowedsignersfile '~/.ssh/git-signers'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment