From 0faf21a102cd476282f1d58cf6faf3fd16b1e513 Mon Sep 17 00:00:00 2001 From: Roman Zeyde Date: Sat, 19 Nov 2016 13:37:33 +0200 Subject: [PATCH] README: easier tag signature verification --- README-GPG.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/README-GPG.md b/README-GPG.md index d930d25..946d968 100644 --- a/README-GPG.md +++ b/README-GPG.md @@ -41,6 +41,6 @@ Git can use GPG to sign and verify commits and tags (see [here](https://git-scm. $ git config --local gpg.program $(which gpg2) $ git commit --gpg-sign # create GPG-signed commit $ git log --show-signature -1 # verify commit signature -$ git tag --sign "v1.2.3" # create GPG-signed tag -$ git verify-tag "v1.2.3" # verify tag signature +$ git tag v1.2.3 --sign # create GPG-signed tag +$ git tag v1.2.3 --verify # verify tag signature ```