From 2856502528cc660369adc90c77524c084e433012 Mon Sep 17 00:00:00 2001 From: Laurent Raufaste Date: Sat, 4 May 2013 19:26:38 -0400 Subject: [PATCH] Exclude .git from rsync to not delete it --- bin/sync | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/bin/sync b/bin/sync index bb17529..ce0a46e 100755 --- a/bin/sync +++ b/bin/sync @@ -12,7 +12,8 @@ RSYNC="rsync --recursive \ --exclude=include/*.inc \ --exclude=rulez/*.log \ --exclude=include/auth.php \ - --exclude=bin/sync" + --exclude=bin/sync \ + --exclude=.git" if $DEBUG then