Difference between revisions of "Signing commits"
Jump to navigation
Jump to search
(Created page with " * Generating a new GPG key") |
|||
(9 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
+ | * https://docs.github.com/en/authentication/managing-commit-signature-verification/signing-commits | ||
+ | [[git config commit.gpgsign true]] | ||
+ | [[git config --global commit.gpgsign true]] | ||
+ | [[git config --global user.signingkey]] XXXX | ||
+ | |||
+ | == Errors == | ||
+ | * [[error: gpg failed to sign the data]] | ||
+ | |||
+ | |||
+ | == Related == | ||
* [[Generating a new GPG key]] | * [[Generating a new GPG key]] | ||
+ | * <code>[[git commit -S]]</code> | ||
+ | |||
+ | == Related == | ||
+ | * {{git commit}} | ||
+ | * {{git config}} | ||
+ | |||
+ | [[Category:Git]] |
Latest revision as of 16:51, 20 September 2024
git config commit.gpgsign true git config --global commit.gpgsign true
git config --global user.signingkey XXXX
Errors[edit]
Related[edit]
Related[edit]
git commit [ -a | -an | --amend | --amend --reset-author | --no-verify | -m | -S ]
git config
,.git/config, ~/.gitconfig
,--list
,--global
,Usage: git config
,credential.helper
Advertising: