From: Miles Gould Date: Sat, 20 Nov 2010 16:47:10 +0000 (+0000) Subject: Post-receive hook that updates its working copy. X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=ee1d7ea0b40092a37d0bf9b14d3be057079b35b8;p=p5sagit%2FOyster.git Post-receive hook that updates its working copy. --- diff --git a/bin/deploy/git/post-receive b/bin/deploy/git/post-receive new file mode 100755 index 0000000..0881496 --- /dev/null +++ b/bin/deploy/git/post-receive @@ -0,0 +1,4 @@ +#!/bin/sh + +cd .. +env -i git reset --hard HEAD