lizw 7 달 전
부모
커밋
bb02503061
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      dsl/001sync_code.sh

+ 2 - 2
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"