签署git提交GPG [英] Sign git commits with GPG
本文介绍了签署git提交GPG的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
有没有办法用gpg签署git commit?使用标签很容易(使用 -s
而不是 -a
),似乎会有类似的功能提交。
Is there a way to sign git commits with gpg? It's so easy with tags (using -s
instead of -a
), it seems there would be a similar function for commits.
推荐答案
git commit -S
(requires git> = 1.7 .9)。
git commit -S
(requires git >= 1.7.9).
这篇关于签署git提交GPG的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文