aboutsummaryrefslogtreecommitdiff
path: root/bin/post-update
diff options
context:
space:
mode:
authorCache Saravento <cache@sarava.org>2015-08-07 14:54:43 -0300
committerCache Saravento <cache@sarava.org>2015-08-07 14:54:43 -0300
commit147254bf40e24321405bbb24704e4e7ebb69f4b8 (patch)
treef32f08f64ea32a928f5242e3dd1f534bd06d051d /bin/post-update
parent3ea16f30be116ebdd67d11e695db3508aa86a56a (diff)
downloadcache-147254bf40e24321405bbb24704e4e7ebb69f4b8.tar.gz
cache-147254bf40e24321405bbb24704e4e7ebb69f4b8.tar.bz2
Adds post-receive hook
Diffstat (limited to 'bin/post-update')
-rwxr-xr-xbin/post-update2
1 files changed, 1 insertions, 1 deletions
diff --git a/bin/post-update b/bin/post-update
index 05eac5c..beed524 100755
--- a/bin/post-update
+++ b/bin/post-update
@@ -7,7 +7,7 @@ if [ -d ".git/annex" ]; then
git annex sync
else
git reset HEAD
- git checkout .
+ git checkout -f
fi
cd -