Skip to content

Commit 4319995

Browse files
committed
git config --global user.signingkey #55
1 parent ed7a9b3 commit 4319995

1 file changed

Lines changed: 5 additions & 4 deletions

File tree

github/CHEATSHEET.md

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ gpg --generate-key
88
```
99
Provide:
1010
* Real name:
11-
* Email address:
11+
* Email address:
1212
* PassPharse
1313
```
1414
gpg --list-secret-keys --keyid-format=long
@@ -27,6 +27,8 @@ git config -l | grep gpg
2727
```
2828
gpg --list-secret-keys --keyid-format=long
2929
#sec 4096R/3AA5C34371567BD2
30+
git config --global user.signingkey 3AA5C34371567BD2
31+
3032
gpg --armor --export 3AA5C34371567BD2
3133
#Copy your GPG key, beginning with -----BEGIN PGP PUBLIC KEY BLOCK----- and ending with -----END PGP PUBLIC KEY BLOCK-----.
3234
```
@@ -35,9 +37,8 @@ git config -l | grep gpg
3537

3638

3739
## References
38-
39-
https://gist.github.com/paolocarrasco/18ca8fe6e63490ae1be23e84a7039374?permalink_comment_id=3976510
40-
40+
* https://gist.github.com/paolocarrasco/18ca8fe6e63490ae1be23e84a7039374?permalink_comment_id=3976510
41+
* https://docs.github.com/en/authentication/managing-commit-signature-verification/telling-git-about-your-signing-key
4142

4243
## Signing commits
4344
* commit messages

0 commit comments

Comments
 (0)