From 51492bf107f655c77ebb5f116badc57f61c4de61 Mon Sep 17 00:00:00 2001 From: Christian Heller Date: Sun, 5 Dec 2021 18:38:44 +0100 Subject: [PATCH] Add zettel git setup. --- bullseye/other_files/zettel_hook_post-receive | 5 +++++ 1 file changed, 5 insertions(+) create mode 100755 bullseye/other_files/zettel_hook_post-receive 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 -- 2.30.2