PhpRiot
News Archive
PhpRiot Newsletter
Your Email Address:

More information

GPG-signing Git Commits

Note: This article was originally published at phly, boy, phly on 25 March 2010.

We're working on migrating Zend Framework to Git. One issue we're trying to deal with is enforcing that commits come from CLA signees.

One possibility presented to us was the possibility of utilizing GPG signing of commit messages. Unfortunately, I was able to find little to no information on the 'net about how this might be done, so I started to experiment with some solutions.

The approach I chose utilizes git hooks, specifically the commit-msg hook client-side, and the pre-receive hook server-side.


Continue reading "GPG-signing Git Commits"