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.
For me i none of the above solution worked. I moved the pre-commit file from hooks to some other location, effectively deleting the file from hooks.
That Worked for me :D