From c56ef2bd08e7cc7f4348303da37d65541f6a61f5 Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Mon, 25 Jul 2022 15:20:04 +0800 Subject: [PATCH] dsl/build.sh --- dsl/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dsl/build.sh b/dsl/build.sh index 6c19c80..59a3808 100644 --- a/dsl/build.sh +++ b/dsl/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"