Updated commit signing docs

This commit is contained in:
Mark Qvist
2026-05-28 02:22:05 +02:00
parent bcf35030bc
commit f9c786fa28
+1 -1
View File
@@ -1430,7 +1430,7 @@ To enable signing only for a specific repository:
$ cd /path/to/repository $ cd /path/to/repository
$ git config --local gpg.format ssh $ git config --local gpg.format ssh
$ git config --local gpg.ssh.program rngcs $ git config --local gpg.ssh.program rngcs
$ git config --local gpg.ssh.allowedsignersfile $ git config --local gpg.ssh.allowedsignersfile none
$ git config --local user.signingKey ~/.rngit/client_identity $ git config --local user.signingKey ~/.rngit/client_identity
This is useful when you want to use different identities for different projects, or when only specific repositories require signed commits. This is useful when you want to use different identities for different projects, or when only specific repositories require signed commits.