The config command expects a path to the private/public key and needs to be prefixed with `key::` when using the public key directly ref: https://git-scm.com/docs/git-config#Documentation/git-config.txt-usersigningKey
299 B
299 B
- To set your SSH signing key in Git, paste the text below, substituting the contents of your clipboard for the key you'd like to use. Since the key contains spaces, you must wrap it in quotes:
$ git config --global user.signingkey 'key::ssh-ed25519 AAAAC3(...) user@example.com'