From: W. Trevor King Date: Thu, 30 Aug 2012 12:15:14 +0000 (-0400) Subject: posts:Git:notes: add commit signing example. X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=47d053a6003535a5646eba8cceac9439facb4fbd;p=blog.git posts:Git:notes: add commit signing example. --- 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