Removed unnecessary command and included ~/.ssh path prefix for clarity

This commit is contained in:
spuzkov 2026-03-19 12:36:00 +01:00
parent cad5c28a84
commit dc4e39a51c

View file

@ -186,7 +186,7 @@ git config --global gpg.format ssh
2. Set the SSH signing key to your public key:
```shell
git config --global user.signingKey '<PATH TO YOUR PUBLIC SSH KEY>'
git config --global user.signingKey '~/.ssh/<YOUR PUBLIC SSH KEY>'
```
3. Sign commits by default:
@ -195,12 +195,6 @@ git config --global user.signingKey '<PATH TO YOUR PUBLIC SSH KEY>'
git config --global commit.gpgSign true
```
4. Check your current configuration:
```shell
git config -l --global
```
## Avoid re-typing the passphrase
Assuming you've created a secure key with a passphrase, SSH will prompt you for your passphrase for every connection.