diff options
-rwxr-xr-x | bin/post-receive.githook | 8 |
1 files changed, 8 insertions, 0 deletions
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 |