lizw 3 rokov pred
rodič
commit
97b8ea241f
1 zmenil súbory, kde vykonal 1 pridanie a 0 odobranie
  1. 1 0
      wms8/build.sh

+ 1 - 0
wms8/build.sh

@@ -37,6 +37,7 @@ needBuild=(
 echoPrefix="\033[36m+"
 echoSuffix="\033[0m"
 
+# 强制覆盖本地的代码 git fetch --all &&  git reset --hard origin/master
 isChange="1"                # 仓库是否发生变化,0:未变化;非0:变化
 pullCode() {
   # Usage: pullCode "codePath" "gitUrl" "branch" "position"