summaryrefslogtreecommitdiff
path: root/hooks/setup-hooks
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/setup-hooks')
-rwxr-xr-xhooks/setup-hooks4
1 files changed, 4 insertions, 0 deletions
diff --git a/hooks/setup-hooks b/hooks/setup-hooks
new file mode 100755
index 0000000..4f48be0
--- /dev/null
+++ b/hooks/setup-hooks
@@ -0,0 +1,4 @@
+#!/bin/sh
+
+# This script setups symlink from .git/hooks directory to this directory.
+ln -s -f ../../hooks/pre-commit .git/hooks/pre-commit \ No newline at end of file