mirror of
https://codeberg.org/Codeberg/Documentation.git
synced 2026-06-16 05:13:54 -07:00
Removed unnecessary command and included ~/.ssh path prefix for clarity
This commit is contained in:
parent
cad5c28a84
commit
dc4e39a51c
1 changed files with 1 additions and 7 deletions
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Reference in a new issue