Executing git post-receive hook on windows server

Posted by zulkamal on Server Fault See other posts from Server Fault or by zulkamal
Published on 2010-06-17T17:02:26Z Indexed on 2010/06/17 17:13 UTC
Read the original article Hit count: 223

Filed under:

I trying to execute a post-receive hook on a windows server git(msysgit) installation - to sync the repo to codebasehq.

The script does nothing more than just wget "url" but it doesn't seem to be executing. I've renamed the "post-receive.sample" to "post-receive" and installed wget to windows path which works fine via the command prompt.

Is there something I'm not doing here? I would appreciate any insights on how to get this working. Thanks.

© Server Fault or respective owner

Related posts about git