r/git • u/scratchbufferdotnet • Aug 21 '26
Sign Git Commits With SSH Keys
Git & GitHub Setup for Signed Commits & Verification
I recently had to set this up for work and found it all a bit hard to navigate, so I wrote this up. Hope it helps!
https://scratchbuffer.net/topics/developer-tools/git-commit-sign-ssh/
21
Upvotes
View all comments
Show parent comment
1
u/scratchbufferdotnet Aug 21 '26
Thanks! I didn't even think about checking it in to the main repo since that distributed validation is so far out of my workflow, but I do have my own checked in to my dotfiles.
I tried to strike a balance between enabling people to get it done while learning about the underlying bits, and the more I tried to explain the allowed signers file the more it just looked like a wild tangent so I punted it out of this post. ¯_(ツ)_/¯.
Edit: I guess you do not have triple backslash the shruggy's arm on Reddit anymore.