liyongli 2 years ago
parent
commit
6a68b2296f
1 changed files with 1 additions and 0 deletions
  1. 1 0
      saveGit.js

+ 1 - 0
saveGit.js

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