Commit_hookr is a project mainly written in Ruby, based on the MIT license.
Configurable Git commit hooks for your team
= commit_hookr
Git commit-msg hook templates for your team. Currently comes only with a hook template for an interactive commit menu, because that's what we needed it for.
commit_hookr makes it easy to enforce commit message policies. We use it to make sure we don't forget to add our Codebase ticket numbers and times to the commit message. As the hook itself is checked into the project repository, it's automatically updated for all team members after their next pull when you change something.
== Usage
Install the gem
gem install commit_hookr
In your Git project's root:
hookr init codebase
Edit .hookr to your liking. If you want to use Codebase ticket listing, you need to configure the codebase project name.
Enjoy.
There's also a shortcut for removing the commit_hookr files:
hookr clear
== Issues
Committing with GitX won't work after initializing the Codebase hook. It's still a useful tool though, you just won't be able to hit the commit button.
If you come across any other issues, either fix the problem and send me a pull request, or post it to http://github.com/skddc/commit_hookr/issues .
== Note on Patches/Pull Requests
== Copyright
Copyright (c) 2010 Michael Bumann, Sebastian Kippe. See LICENSE for details.