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. git commit -S (requires git >= 1.7.9). VonC Note: Adding the -S option all the time can be cumbersome. In git 2.0 and later, you can add a config which will take care of that option for you. See commit 2af2ef3 by Nicolas Vigier (boklm) : Add the commit.gpgsign option to sign all commits If you want to GPG sign all your commits, you have to add the -S option all the time. The commit.gpgsign config option allows to sign all commits automatically.