Committed by cron-git auto

master
iotcat 4 years ago
parent ea9de0916f
commit 14ee058d48
  1. 4
      index.js

@ -10,9 +10,9 @@ const git = require('simple-git')();
*/
git.pull('origin', 'master', {'--no-rebase': null});
git.pull('origin', 'master', {'--no-rebase': null}, ()=>{console.log('pull')});
git.add('./*')
.commit("Committed by cron-git auto")
.push(['-u', 'origin', 'master'], (s) => console.log(s+'git push done!!'));
.push(['-u', 'origin', 'master'], () => console.log('git push done!!'));
Loading…
Cancel
Save