10 lines
160 B
Bash
10 lines
160 B
Bash
|
#!/usr/bin/env bash
|
||
|
|
||
|
GIT_DIR="$(git rev-parse --git-dir)"
|
||
|
|
||
|
echo "Installing hooks..."
|
||
|
ln -s ../../scripts/pre-commit.sh $GIT_DIR/hooks/pre-commit
|
||
|
echo "Done"
|
||
|
|
||
|
|