Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Git hook multiplexer.
branch: master

This branch is even with metajack:master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.



multihook allows multiplexing of Git hooks.

It is useful if you want to run multiple hooks on a single event. For example, you might use multihook on post-receive to send notifications by e-mail and by XMPP multi-user chat.


This code is copyright (c) 2008 by Jack Moffitt and is available under the GPLv3. See LICENSE.txt for details.


To use multihook, just copy to your repository's .git/hooks dir and call it post-receive. Be sure to set it executable with chmod 755 post-receive as well.

You'll need to edit the very top of the file where HOOKS is defined. Each item of this array is a script to run. Each item is an array of strings; the first string is the script, and the other strings are its arguments.

Something went wrong with that request. Please try again.