How do I sign my git commits? #3
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
I want to generate a GPG key and sign my commits, but I never remember how.
Github and other sites around the net have good info on this.
generate a key
get the key id
armor it
and paste that into your GH account.
If the email address does not match an email address on the account, you may need to take extra steps.
tell git about the key
Get the key ID
and with the ID:
tell git to sign by default
If you want all commits signed:
or, you can do it one-by-one: