Post-receive git hook write in ruby, with html mailing diff, and per branch hooks
Ruby
Switch branches/tags

README.rdoc

RGitHook

RGitHook is a ruby wrapper to edit hooks. All hooks are stored in just one ruby file.

Install

sudo gem install rgithook

Basic Usage

cd repo
rgithook --install
rgithook --edit    # Edit your hooks

And make some git action that make rgithook run.

Extend Usage.

The typical use of rgithook is for post-receive hooks. These hook is invoked when a remote machine push to ours.

It can be run with bare repo or repos with a working tree.