inane
inane

Reputation: 648

Alternative chmod for git hook in Windows 7

I am trying to activate one git hook under Windows 7, but I don´t find the alternative to chmod +x post-commit (in my case) in this operating system, with Unix is working correctly

Thanks for your help.

Upvotes: 0

Views: 117

Answers (1)

eckes
eckes

Reputation: 67037

There's no chmod needed.

Just call the file post-commit and you're done.

If you have for example a perl file, you'll need a shebang:

#!/usr/bin/perl -w

Upvotes: 1

Related Questions