liyongli il y a 2 ans
Parent
commit
6a68b2296f
1 fichiers modifiés avec 1 ajouts et 0 suppressions
  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");