update git pre-push hook (rsync command)
This commit is contained in:
parent
89440e2544
commit
ff868b6653
1 changed files with 1 additions and 1 deletions
|
@ -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!"
|
||||
|
|
Loading…
Reference in a new issue