From bb02503061c62678c179ae7b75c3a5d31061a1bb Mon Sep 17 00:00:00 2001 From: lizw <1183409807@qq.com> Date: Tue, 22 Oct 2024 16:33:26 +0800 Subject: [PATCH] ... --- dsl/001sync_code.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dsl/001sync_code.sh b/dsl/001sync_code.sh index d411630..7155421 100644 --- a/dsl/001sync_code.sh +++ b/dsl/001sync_code.sh @@ -173,8 +173,8 @@ sync_files() { commit_target() { echo -e "$echoPrefix cd $target_path $echoSuffix" cd $target_path - echo -e "$echoPrefix git add . $echoSuffix" - git add . + echo -e "$echoPrefix git add --all . $echoSuffix" + git add --all . echo -e "$echoPrefix git commit -m '代码同步' $echoSuffix" git commit -m '代码同步' echo -e "$echoPrefix git push origin $target_branch $echoSuffix"