1 2 3 4 5 6 7
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" >/dev/null 2>&1 && pwd )" rm $DIR/.git/hooks/* cp $DIR/.githooks/* $DIR/.git/hooks/ chmod 755 $DIR/.git/hooks/*