Add pre-commit hook and setup script Runs the appropriate linter on staged files before committing.
3 lines
56 B
Bash
3 lines
56 B
Bash
#!/bin/sh
|
|
cp -f scripts/git-hooks/pre-commit .git/hooks
|