Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell git to use windows scripting language in hooks
Message
From
01/04/2016 11:52:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
How to tell git to use windows scripting language in hooks
Miscellaneous
Thread ID:
01634158
Message ID:
01634158
Views:
51
Hi,

I need to create some scripts to run in git hooks. In https://www.atlassian.com/git/tutorials/git-hooks there is the following information:
Scripting Languages

The built-in scripts are mostly shell and PERL scripts, but you can use any scripting language you like as long as it can be run as an executable. The shebang line (#!/bin/sh) in each script defines how your file should be interpreted. So, to use a different language, all you have to do is change it to the path of your interpreter.
Can someone explain how to use that method to tell git to use a windows friendly scripting language?

TIA,

Alex
Next
Reply
Map
View

Click here to load this message in the networking platform