소스 검색

wms8 build.sh

lizw 3 년 전
부모
커밋
97b8ea241f
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  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"