1
0
mirror of synced 2026-01-07 00:01:39 -05:00

chore: update guide to include path to public key for ssh signing

This commit is contained in:
mitche50
2022-08-25 14:40:23 -04:00
parent 89d9d71bc0
commit e88f9fa9ce

View File

@@ -1,4 +1,9 @@
1. 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:
```bash
$ git config --global user.signingkey 'ssh-ed25519 AAAAC3(...) user@example.com'
```
Alternatively, you can add the direct path to your public key if your system does not properly handle adding the content of the key directly.
```bash
$ git config --global user.signingkey=/path/to/.ssh/pubkey_filename.pub
```