Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Scripting languages supported for Git hooks

Tags:

git

Which scripting languages does Git hooks support? I see examples of Python, Ruby and Bash. Are these the only ones? I'm mainly interested in using it on windows at the moment and am not proficient in the above. I wanted to know whether it supports anything like VBscript, Powershell or windows batch files? Is there a list of all the supported languages.

like image 905
shreyansp Avatar asked Oct 02 '22 04:10

shreyansp


1 Answers

It supports anything that your system knows how to execute. You can implement your hooks in COBOL if you want!

like image 108
John Zwinck Avatar answered Oct 13 '22 11:10

John Zwinck