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.
You probably don't have the permissions to run the pre-commit file
pre-commit
Run in your terminal:
chmod +x .git/hooks/pre-commit
Thanks to @vaughan for giving the idea