From eb0570b941ed502333ec7fce7e69ec530308b7ff Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Mon, 25 Jul 2022 15:25:49 +0800 Subject: [PATCH] dsl/dashenlin-naning-prd_build.sh --- dsl/dashenlin-naning-prd_build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dsl/dashenlin-naning-prd_build.sh b/dsl/dashenlin-naning-prd_build.sh index 7d0e9c8..004dd9b 100644 --- a/dsl/dashenlin-naning-prd_build.sh +++ b/dsl/dashenlin-naning-prd_build.sh @@ -58,6 +58,8 @@ pullCode() { fi echo -e "$echoPrefix git checkout $branch $echoSuffix" git checkout $branch + echo -e "$echoPrefix git checkout . $echoSuffix" + git checkout . echo -e "$echoPrefix git pull $echoSuffix" if [ "`git pull`" == "Already up-to-date." ] && [ $isChange == "1" ]; then isChange="0"