From bde47bb5b29aae57f1cc682192bd31d2d9b477e4 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 14 Mar 2017 22:10:27 -0400 Subject: commit the post-receive hook --- bin/post-receive.githook | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100755 bin/post-receive.githook (limited to 'bin') diff --git a/bin/post-receive.githook b/bin/post-receive.githook new file mode 100755 index 0000000..8292df0 --- /dev/null +++ b/bin/post-receive.githook @@ -0,0 +1,8 @@ +#!/usr/bin/env bash +set -e +whoami +export LANG=en_US.UTF-8 + +unset GIT_DIR +cd /srv/http/www.andrewdm.me +git pull --ff-only -- cgit v1.2.3