summaryrefslogtreecommitdiff
path: root/bin/hooks/00-git-pull
diff options
context:
space:
mode:
authorLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 14:12:58 -0500
committerLuke Shumaker <lukeshu@lukeshu.com>2017-12-18 14:12:58 -0500
commit4fe3beabbc1718fd8ecc72e85439ab92b8be61d3 (patch)
tree7da621a5ec5bba052bb7010a5afcadb98ac670ee /bin/hooks/00-git-pull
parentdb07948255b26e83d4ca4c82965f807f83c03898 (diff)
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