Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to tell git to use windows scripting language in hoo
Message
De
02/04/2016 11:56:05
 
 
À
01/04/2016 11:52:30
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
01634158
Message ID:
01634203
Vues:
43
Hi Alex,

Have you look at PowerShell? https://git-scm.com/book/en/v2/Git-in-Other-Environments-Git-in-Powershell

Hank

>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform