X-Git-Url: https://plomlompom.com/repos/foo.html?a=blobdiff_plain;f=buster%2Fother_files%2Fzettel_hook_post-receive;fp=buster%2Fother_files%2Fzettel_hook_post-receive;h=3bea5b28133a3de5ba5f34a11f438ede1331219e;hb=8651fd95fff3154ac21638056e6c4388312667e3;hp=0000000000000000000000000000000000000000;hpb=939396a82ad976176efcaeae1f596df399d6fae3;p=config diff --git a/buster/other_files/zettel_hook_post-receive b/buster/other_files/zettel_hook_post-receive new file mode 100755 index 0000000..3bea5b2 --- /dev/null +++ b/buster/other_files/zettel_hook_post-receive @@ -0,0 +1,5 @@ +#!/bin/sh +ZETTELDIR=/home/plom/zettel +GIT_WORK_TREE=$ZETTELDIR git checkout -f +cd $ZETTELDIR +redo