I\'m just starting to look into Git hooks, but I can\'t seem to get them to run.
I set up a local repository, so there is now a \'.git\' directory in my project folder.
What about naming your hook pre-commit (without any extension) ?
pre-commit
EDIT: and add #!/bin/sh on the first line or #!/bin/bash (suggested in comments)
#!/bin/sh
#!/bin/bash