projects
/
mw2txt.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fa6418c
)
posts:Git:notes: add commit signing example.
author
W. Trevor King
<wking@tremily.us>
Thu, 30 Aug 2012 12:15:14 +0000
(08:15 -0400)
committer
W. Trevor King
<wking@tremily.us>
Thu, 30 Aug 2012 12:15:14 +0000
(08:15 -0400)
posts/Git/notes.org
patch
|
blob
|
history
diff --git
a/posts/Git/notes.org
b/posts/Git/notes.org
index 73fee98d36f6fee559b4cd53942761642fa0f964..84958f05ce0d69747c6ec2651a950f36419d653c 100644
(file)
--- 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