liyongli 2 yıl önce
ebeveyn
işleme
6a68b2296f
1 değiştirilmiş dosya ile 1 ekleme ve 0 silme
  1. 1 0
      saveGit.js

+ 1 - 0
saveGit.js

@@ -7,6 +7,7 @@ const { execSync } = require("child_process");
    */
   function execFun() {
     try {
+      execSync("git pull");
       execSync("git add .");
       execSync('git commit -m "提交"');
       execSync("git push");