I\'m trying to create signed tags in GitHub using the git command line. I generated a GPG key with a (sample) username Full Name (skytreader)
If you have a key already generated, you can tell git to use that specific key without worrying about matching between your git user ID (name+email) and the GPG key's ID. You should have your git user.email
match one of the emails on your GPG key for your signed tags or commits to be useful to other users, though.
To set the key for global use on your computer, set your git global config with:
git config --global user.signingkey 6AB3587A
Or, you can set the user.signingkey
for only the current repository you're in with:
git config user.signingkey 6AB3587A