neb/tools/repo/install-git-hooks.sh

4 lines
95 B
Bash
Raw Normal View History

2023-10-22 22:06:22 +02:00
#!/bin/sh
[ -d ".git/hooks" ] || mkdir .git/hooks
ln tools/repo/check.sh .git/hooks/pre-commit