diff options
Diffstat (limited to 'doc/user/project/repository/signed_commits/ssh.md')
-rw-r--r-- | doc/user/project/repository/signed_commits/ssh.md | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/user/project/repository/signed_commits/ssh.md b/doc/user/project/repository/signed_commits/ssh.md index 3572e56da84..c87a992fdac 100644 --- a/doc/user/project/repository/signed_commits/ssh.md +++ b/doc/user/project/repository/signed_commits/ssh.md @@ -48,12 +48,12 @@ To configure Git to use your key: git config --global gpg.format ssh ``` -1. Specify which SSH key should be used as the signing key, changing the filename - (here, `~/.ssh/examplekey`) to the location of your key. The filename may +1. Specify which public SSH key to use as the signing key and change the filename + (`~/.ssh/examplekey.pub`) to the location of your key. The filename might differ, depending on how you generated your key: ```shell - git config --global user.signingkey ~/.ssh/examplekey + git config --global user.signingkey ~/.ssh/examplekey.pub ``` ## Sign commits with your SSH key |