austin1howard austin1howard - 1 year ago 89
Git Question

Sign git commits with GPG

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.

Answer Source

git commit -S (requires git >= 1.7.9).

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download