Browse Source

update zmp

master
sasgis 54 years ago
parent
commit
6cf558601e
1 changed files with 3 additions and 2 deletions
  1. +3
    -2
      Update.cmd

+ 3
- 2
Update.cmd View File

@@ -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


Loading…
Cancel
Save