Windows 7. Bash shell.
I've made a file called pre-commit with the following content but nothing happens.
#!/bin/bash
echo "PRE-COMMIT EXECUTE"
mvn compile
exit 1
First: I have seen references to .git/hooks and C:/GitInstalledDir/hooks for the file location so where exactly is this file suppose to go?
Second: If it's to go in ".git" what directory is this, my user directory?