austin1howard austin1howard - 3 months ago 8
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

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

Comments