Skip to main content

Git Verified Commit

Export your key and add it to GitHub

Get your key signature

gpg --list-secret-keys --keyid-format=long

If you haven't already, set your name and email in Git:

git config --global user.name "Kyle"
git config --global user.email "[email protected]"

Set your signing key in Git

git config --global user.signingkey ABCDEF1234567890

Make sure Git can talk to GPG:

# in ~/.bashrc
export GPG_TTY=$(tty)