From f81037debe73718486a761b65728296d02ff2470 Mon Sep 17 00:00:00 2001 From: Yannick Lang <53411157+layaxx@users.noreply.github.com> Date: Sat, 9 Jan 2021 17:24:36 +0100 Subject: [PATCH] Update associating-an-email-with-your-gpg-key.md add necessary step to "associating an email with your gpg key" --- .../associating-an-email-with-your-gpg-key.md | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/content/github/authenticating-to-github/associating-an-email-with-your-gpg-key.md b/content/github/authenticating-to-github/associating-an-email-with-your-gpg-key.md index 6e38250049..79bf3d46bf 100644 --- a/content/github/authenticating-to-github/associating-an-email-with-your-gpg-key.md +++ b/content/github/authenticating-to-github/associating-an-email-with-your-gpg-key.md @@ -32,14 +32,18 @@ If you're using a GPG key that matches your committer identity and your verified Comment: GitHub key Change (N)ame, (C)omment, (E)mail or (O)kay/(Q)uit? ``` -7. Enter `O` to save your selections. +7. Enter `O` to confirm your selections. 8. Enter your key's passphrase. -9. Enter `gpg --armor --export GPG key ID`, substituting in the GPG key ID you'd like to use. In the following example, the GPG key ID is `3AA5C34371567BD2`: +9. Enter `gpg> save` to save the changes + ```shell + $ gpg> save + ``` +10. Enter `gpg --armor --export GPG key ID`, substituting in the GPG key ID you'd like to use. In the following example, the GPG key ID is `3AA5C34371567BD2`: ```shell $ gpg --armor --export 3AA5C34371567BD2 # Prints the GPG key, in ASCII armor format ``` -10. Upload the GPG key by [adding it to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account). +11. Upload the GPG key by [adding it to your GitHub account](/articles/adding-a-new-gpg-key-to-your-github-account). ### Further reading