Debian Codegraph @

.githooks/install

raw
1 #!/bin/sh
2
3 cd "$(git rev-parse --git-dir)"
4 cd hooks
5
6 echo "Installing hooks..."
7 ln -s ../../.githooks/pre-commit pre-commit
8 echo "Done!"