Skip to content

Basic git hook handler for creating tasks when git sends a hook request.

Notifications You must be signed in to change notification settings

msusur/git-mish

Repository files navigation

git-mish

A basic git hook handler for creating tasks when git sends a hook request.

setup

Get it on NuGet!

PM> Install-Package git-mish

Compile the code

Basicly run the build.cmd to build and run the tests.

Using the git-mish

if you are using asp.net application you simply write the following lines,

   protected void Application_Start(object sender, EventArgs e)
   {
       GitHook.SetupForRepository("testing").BranchOf("master")
                .Then<StandardBuildOperation>()
                .Save(RouteTable.Routes, "Github/testing");
   }

Thus hook starts to listen for a POST Http Request from github hook which is from a repository named "testing" and from its "master" branch. (branch support not working at the moment, but will be fixed asap)

So you may add a post-receive hook for "http://yourdomain.com/Github/testing". For more information about adding post-receive hooks from github see https://help.github.com/articles/post-receive-hooks

About

Basic git hook handler for creating tasks when git sends a hook request.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published