aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
Diffstat (limited to 'bin')
-rwxr-xr-xbin/git-init.sh10
1 files changed, 10 insertions, 0 deletions
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."