From b7113083b4e9f388c552a2c3859cd564e058bcbc Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Fri, 19 May 2017 21:29:57 +0300 Subject: [PATCH] README: add 'git config' for enabling commit signing --- README-GPG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README-GPG.md b/README-GPG.md index 3f0b3b4..1d85fd8 100644 --- a/README-GPG.md +++ b/README-GPG.md @@ -52,6 +52,7 @@ $ GNUPGHOME=~/.gnupg/trezor gpa ## Git commit & tag signatures: Git can use GPG to sign and verify commits and tags (see [here](https://git-scm.com/book/en/v2/Git-Tools-Signing-Your-Work)): ``` +$ git config --local commit.gpgsign 1 $ git config --local gpg.program $(which gpg2) $ git commit --gpg-sign # create GPG-signed commit $ git log --show-signature -1 # verify commit signature