penchant/script/install-git-hooks

7 lines
94 B
Plaintext
Raw Normal View History

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