From 8904e885307d7c9688b64008fa4aa180a03d73d4 Mon Sep 17 00:00:00 2001 From: Dominic Reich Date: Sat, 12 Aug 2023 08:57:05 +0200 Subject: [PATCH] fix git hook `pre-push` - failed to rsync files before push because of `-N` --- .githooks/pre-push | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.githooks/pre-push b/.githooks/pre-push index 48e547c..8625bfb 100755 --- a/.githooks/pre-push +++ b/.githooks/pre-push @@ -32,7 +32,7 @@ fi echo -n ">>> Pushing files to server..." -ret="$(rsync --no-motd -acvhzN --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)" +ret="$(rsync --no-motd -acvhz --stats --del public/ bor:/var/www/sites/oe7drt/ > /dev/null 2>&1)" if [ "$?" -eq "0" ] ; then echo " Success!"