From 75b94248e56770ed7228cb6c699aa121ea5acb60 Mon Sep 17 00:00:00 2001 From: Adar Nimrod <nimrod@shore.co.il> Date: Sat, 17 Jun 2017 09:14:06 +0300 Subject: [PATCH] - Forgot to add the script, corrected. --- Documents/bin/install-git-hooks | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 Documents/bin/install-git-hooks diff --git a/Documents/bin/install-git-hooks b/Documents/bin/install-git-hooks new file mode 100755 index 0000000..1c91e81 --- /dev/null +++ b/Documents/bin/install-git-hooks @@ -0,0 +1,5 @@ +#!/bin/sh +set -eu + +cd "$HOME/.githooks" +find -type f -exec ln -sf ../../.githooks/{} ../.git/hooks/ \; -- GitLab