From 96796201fa8b4133f170fb4698ccf0c2ac6a635e Mon Sep 17 00:00:00 2001 From: Jonas Smedegaard Date: Tue, 24 Nov 2020 11:07:03 +0100 Subject: Major rewrite --- bin/git-init.sh | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 bin/git-init.sh (limited to 'bin') diff --git a/bin/git-init.sh b/bin/git-init.sh new file mode 100755 index 0000000..6ca03e2 --- /dev/null +++ b/bin/git-init.sh @@ -0,0 +1,10 @@ +#!/bin/sh + +# FIXME: Run as user radicale in dir ~/collections/collection-root + +git init +echo '.Radicale.cache' > .gitignore +echo '.Radicale.lock' >> .gitignore +echo '.Radicale.tmp-*' >> .gitignore +git add '*.ics' '*.vcf' '*.props' .gitignore +git commit -m "Initial snapshot." -- cgit v1.2.3