瀏覽代碼

update zmp

pull/1/head
sasbot 3 年之前
父節點
當前提交
54fc978d0d
共有 1 個檔案被更改,包括 3 行新增2 行删除
  1. +3
    -2
      Update.cmd

+ 3
- 2
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


Loading…
取消
儲存