From 992a47f727f995964384eb5865be98c1f3f120db Mon Sep 17 00:00:00 2001 From: Jonathan Hodgson Date: Thu, 31 Dec 2020 17:40:05 +0000 Subject: [PATCH] Stop .git directory being copied when creating html --- inc/to-html | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/inc/to-html b/inc/to-html index 3a29dbd..5096df7 100644 --- a/inc/to-html +++ b/inc/to-html @@ -56,7 +56,7 @@ to-html(){ done rsync -a \ - --exclude "*.md" --exclude "*.sqlite3" \ + --exclude "*.md" --exclude ".git" --exclude "*.sqlite3" \ "$dataDir/" "$destination" rm "$tocFile" "$templateFile"