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