aboutsummaryrefslogtreecommitdiff
path: root/hooks/post-recieve
diff options
context:
space:
mode:
authorFrankie B <floppydisk05@aol.com>2022-09-04 00:25:49 +0000
committerFrankie B <floppydisk05@aol.com>2022-09-04 00:25:49 +0000
commit8677395d2d186dd2d1871ca2ff2b4ef0dee8a74f (patch)
treeb7d12f9c918da2557a0c0664f0cffc22c6baa7c9 /hooks/post-recieve
parentb00662b1fedd298beee82aa5ba960631101c26d1 (diff)
Changes
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