summaryrefslogtreecommitdiff
path: root/bin/hooks/00-git-pull
diff options
context:
space:
mode:
Diffstat (limited to 'bin/hooks/00-git-pull')
-rw-r--r--bin/hooks/00-git-pull7
1 files changed, 7 insertions, 0 deletions
diff --git a/bin/hooks/00-git-pull b/bin/hooks/00-git-pull
new file mode 100644
index 0000000..e432f51
--- /dev/null
+++ b/bin/hooks/00-git-pull
@@ -0,0 +1,7 @@
+#!/bin/bash
+
+# Update the system checkout of hackers.git
+echo '==> Updating system checkout...'
+unset GIT_DIR
+cd /var/lib/hackers-git
+git pull