gpg --gen-key
git config --global user.signingkey 0A46826A
git config --global commit.gpgsign true
(Optional, enable sign always)git commit -S -m "foobar
(Optional, for manual sign commit)- Copy output of
git --armor --export 0A46826A
to github/gitlab settings etc - Have fun
Created
November 19, 2020 06:53
-
-
Save dragneelfps/d55fc15a48e029545c9cd64f21856b3a to your computer and use it in GitHub Desktop.
Git signing
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment