From 4894d3724cb017f73f12394b0e3cf90b1ad55697 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Thu, 29 Feb 2024 14:35:32 +0100 Subject: [PATCH] git/gpg --- rtfd/public/git/configure.rst | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) diff --git a/rtfd/public/git/configure.rst b/rtfd/public/git/configure.rst index 1a94784..09e9c21 100644 --- a/rtfd/public/git/configure.rst +++ b/rtfd/public/git/configure.rst @@ -6,16 +6,24 @@ Identity .. code:: shell - git config user.name "First Last" - git config user.email "user@domain.tld" + git config user.name 'First Last' + git config user.email 'user@domain.tld' + git config user.signingKey 'FINGERPRINT' + git config commit.gpgSign true + git config tag.gpgSign true -* ~/.gitconfig +* .git/config .. code:: ini [user] - name = "First Last" - email = "user@domain.tld" + name = First Last + email = user@domain.tld + signingKey = FINGERPRINT + [commit] + gpgSign = true + [tag] + gpgSign = true Auto-build ----------