From: Christian Heller Date: Sun, 5 Dec 2021 17:38:44 +0000 (+0100) Subject: Add zettel git setup. X-Git-Url: https://plomlompom.com/repos/edit?a=commitdiff_plain;h=51492bf107f655c77ebb5f116badc57f61c4de61;p=config Add zettel git setup. --- diff --git a/bullseye/other_files/zettel_hook_post-receive b/bullseye/other_files/zettel_hook_post-receive new file mode 100755 index 0000000..3bea5b2 --- /dev/null +++ b/bullseye/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