Skip to content

Git Signing Cheat-Sheet

Action Command
GPG sign git commit -S -m "msg"
SSH sign git config gpg.format ssh && git commit -S -m "msg"
Sign tag git tag -s v1.0.0 -m "release"
Verify git verify-commit HEAD
Show sig git log --show-signature -1
Enforce git config --global commit.gpgsign true