penchant/script/install-git-hooks

7 lines
94 B
Bash
Executable File

#!/bin/bash
for hook in script/hooks/* ; do
ln -sf $PWD/$hook .git/hooks/${hook##*/}
done