3

I've seen lots of pre/post commit/push hooks, but I haven't seen one for ensuring that the commit is signed. I don't know how to go about it, but I assume it might use git [log|show] [commit(s)] --show-signature.

disclaimer: yes, I've GTFS'ed and searched here on SO/SE/etc. yes, Torvalds doesn't like signed commits.

Community
  • 1
  • 1
tedder42
  • 23,519
  • 13
  • 86
  • 102

0 Answers0