Commit 76fea6fa authored by Amy Qualls's avatar Amy Qualls

Merge branch 'doc-x509-make-gpgsm-command-copy-pastable' into 'master'

x509_signed_commits: Make 'gpgsm' command copy-pastable

See merge request gitlab-org/gitlab!83102
parents 1b6b7838 7697b30c
......@@ -88,7 +88,7 @@ If you have the correct version, you can proceed to configure Git.
Configure Git to use your key for signing:
```shell
signingkey = $( gpgsm --list-secret-keys | egrep '(key usage|ID)' | grep -B 1 digitalSignature | awk '/ID/ {print $2}' )
signingkey=$( gpgsm --list-secret-keys | egrep '(key usage|ID)' | grep -B 1 digitalSignature | awk '/ID/ {print $2}' )
git config --global user.signingkey $signingkey
git config --global gpg.format x509
```
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment