We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
Follow these simple steps to securely sign your Git commits using your existing SSH keys:
Ensure you have an SSH key already generated:
ls ~/.ssh
Typical filenames are:
id_ed25519.pub
id_rsa.pub
If you don't have an SSH key, generate one:
ssh-keygen -t ed25519 -C "your_email@example.com"
Set Git to use SSH for commit signing:
git config --global gpg.format ssh git config --global user.signingkey ~/.ssh/id_ed25519.pub git config --global commit.gpgsign true
Replace ~/.ssh/id_ed25519.pub with your actual public key path if different.
~/.ssh/id_ed25519.pub
Ensure your SSH public key is added to your GitHub account:
Make a test commit to confirm everything is working:
git commit -S -m "Test commit using SSH signing"
Push the commit and confirm it is marked as "Verified" on GitHub.
Now your commits will be securely signed using your SSH keys!