liyongli 2 anni fa
parent
commit
6a68b2296f
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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");