#!/bin/sh

# Install a pre-commit hook that
# automatically runs phpcs to fix styles
cp admin/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

#!/bin/sh

# Install a pre-commit hook that
# automatically runs phpcs to fix styles
mkdir -p .git/hooks
cp admin/pre-commit .git/hooks/pre-commit
chmod +x .git/hooks/pre-commit

Create .git/hooks directory if not already present
Create .git/hooks directory if not already present
