liyongli 2 ani în urmă
părinte
comite
6a68b2296f
1 a modificat fișierele cu 1 adăugiri și 0 ștergeri
  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");