Last active
August 22, 2022 14:49
-
-
Save rafaelmaeuer/6f6fdeec7879075a1bbc2a5df9e4cf6f to your computer and use it in GitHub Desktop.
https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key
https://confluence.atlassian.com/sourcetreekb/setup-gpg-to-sign-commits-within-sourcetree-765397791.html
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
# Option 1 (local repo-wide configuration): | |
# https://confluence.atlassian.com/sourcetreekb/setup-gpg-to-sign-commits-within-sourcetree-765397791.html | |
# Option 2 (global system-wide configuration): | |
# https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key | |
# list gpg signing keys | |
gpg --list-secret-keys --keyid-format=long | |
# global add keyid of gpg-key | |
git config --global user.signingkey <keyid> | |
# global set commit signing to true | |
git config --global commit.gpgsign true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment