From e88f9fa9ce2a493625a69732c7e82f2edd2ca8f6 Mon Sep 17 00:00:00 2001 From: mitche50 Date: Thu, 25 Aug 2022 14:40:23 -0400 Subject: [PATCH] chore: update guide to include path to public key for ssh signing --- data/reusables/gpg/paste-ssh-public-key.md | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/data/reusables/gpg/paste-ssh-public-key.md b/data/reusables/gpg/paste-ssh-public-key.md index 1274a0acb5..d1aaa6acef 100644 --- a/data/reusables/gpg/paste-ssh-public-key.md +++ b/data/reusables/gpg/paste-ssh-public-key.md @@ -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 ``` \ No newline at end of file