From 47d053a6003535a5646eba8cceac9439facb4fbd Mon Sep 17 00:00:00 2001 From: "W. Trevor King" Date: Thu, 30 Aug 2012 08:15:14 -0400 Subject: [PATCH] posts:Git:notes: add commit signing example. --- posts/Git/notes.org | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/posts/Git/notes.org b/posts/Git/notes.org index 73fee98..84958f0 100644 --- a/posts/Git/notes.org +++ b/posts/Git/notes.org @@ -919,6 +919,15 @@ Then send off an updated version: See =gitworkflows(7)= for other good ideas. +** Signing commits with GPG + +Since version 1.7.9, Git can sign commits with =-S=. + + : $ git commit -S -m 'Look, a signed commit!' + : $ git log --show-signature + +One more reason to be running =gpg-agent=. + * Troubleshooting ** Git commit hangs with no output -- 2.26.2