Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
expose git hooks as a node.js EventEmitter
JavaScript
tree: f4128d6d4f

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
bin
example
lib
test
README.markdown
index.js

README.markdown

git-emit

Expose git hooks as a single node.js EventEmitter.

COMING SOON.

example

var em = require('git-emit')(__dirname + '/repo');

em.on('pre-commit', function (ok) {
    ok(Math.random() > 0.5); // randomly reject 50% of commits
});
Something went wrong with that request. Please try again.