From 54fc978d0d3d875f656085d4cfa0ef002289ef38 Mon Sep 17 00:00:00 2001 From: sasbot <> Date: Sat, 6 Jun 2020 12:00:00 +0000 Subject: [PATCH] update zmp --- Update.cmd | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/Update.cmd b/Update.cmd index 2e7bbeb0..26195865 100644 --- a/Update.cmd +++ b/Update.cmd @@ -3,7 +3,7 @@ set maps_dir=sas.maps set maps_url="https://github.com/sasgis/sas.maps" -git fetch --verbose %maps_url% +git status echo %ERRORLEVEL% @@ -14,7 +14,7 @@ if ERRORLEVEL -1 goto CloneRepo goto err -:CloneRepo +:CloneRepo echo Делаем клон репозитория с сервера rd /s /q %maps_dir% git clone %maps_url% %maps_dir% @@ -31,6 +31,7 @@ goto err :UpdateRepo echo Обновляем файлы до последней версии + git fetch --all --verbose git clean -d -x --force git reset --hard origin/master goto end