Command Details

$ chmod +x .git/hooks/pre-commit

Make a pre-commit hook executable.