From 147254bf40e24321405bbb24704e4e7ebb69f4b8 Mon Sep 17 00:00:00 2001 From: Cache Saravento Date: Fri, 7 Aug 2015 14:54:43 -0300 Subject: Adds post-receive hook --- bin/post-receive | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100755 bin/post-receive (limited to 'bin/post-receive') diff --git a/bin/post-receive b/bin/post-receive new file mode 100755 index 0000000..512b9fd --- /dev/null +++ b/bin/post-receive @@ -0,0 +1,6 @@ +#!/bin/sh + +cd .. +unset GIT_DIR + +git checkout -f -- cgit v1.2.3