johnpoint

johnpoint

(。・∀・)ノ゙嗨
github

Add verified label to Github commit

This is a note.

Content: Github commit adding verified badge

Screenshot

I have always been too lazy or too busy to do this, but it seems like this thing doesn't really have any use.

User-side#

Generate GPG key pair#

gpg --gen-key
gpg --list-keys

List GPG key pairs
List GPG key pairs

Export public file#

gpg --armor --output public-key.txt --export E081E7D64************29B7080083
gpg --armor --output private-key.txt --export-secret-keys

Configure local Git#

git config --global user.signingkey E081E7D64************29B7080083
git config --global commit.gpgsign true

Github-side#

cat public-key.txt

Enter the result in Personal settings->SSH and GPG keys

Save

Effect

-EOF-

Loading...
Ownership of this post data is guaranteed by blockchain and smart contracts to the creator alone.