Difference between revisions of "Signing commits"
Jump to navigation
Jump to search
(4 intermediate revisions by the same user not shown) | |||
Line 4: | Line 4: | ||
[[git config commit.gpgsign true]] | [[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 == | == Related == | ||
* [[Generating a new GPG key]] | * [[Generating a new GPG key]] | ||
− | + | * <code>[[git commit -S]]</code> | |
− | |||
== Related == | == Related == | ||
+ | * {{git commit}} | ||
* {{git config}} | * {{git config}} | ||
[[Category:Git]] | [[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: