aboutsummaryrefslogtreecommitdiff
path: root/hooks/post-recieve
diff options
context:
space:
mode:
Diffstat (limited to 'hooks/post-recieve')
-rwxr-xr-xhooks/post-recieve2
1 files changed, 2 insertions, 0 deletions
diff --git a/hooks/post-recieve b/hooks/post-recieve
new file mode 100755
index 0000000..467c061
--- /dev/null
+++ b/hooks/post-recieve
@@ -0,0 +1,2 @@
+#!/bin/sh
+GIT_WORK_TREE=/var/www/main git checkout -f master