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