Created
September 1, 2022 15:45
-
-
Save mislav/2c0b066ea15b4ed36582b69ab428d174 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# you must also upload the public key as signing key to https://github.com/settings/keys | |
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