aboutsummaryrefslogtreecommitdiff
path: root/bin
diff options
context:
space:
mode:
authorJonas Smedegaard <dr@jones.dk>2020-11-24 11:07:03 +0100
committerJonas Smedegaard <dr@jones.dk>2020-11-24 11:12:04 +0100
commit96796201fa8b4133f170fb4698ccf0c2ac6a635e (patch)
tree31126255c4c55a7adf96348f12403fac434aac39 /bin
parent7022aa1c05b9e7a4d08a95cc68872ba5c6be04d1 (diff)
Major rewrite
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."