mirror of
https://github.com/OBKoro1/autoCommit.git
synced 2024-11-22 18:39:26 +08:00
autoCommit
This commit is contained in:
commit
a74521a2e7
@ -2,11 +2,7 @@
|
|||||||
* Author : OBKoro1
|
* Author : OBKoro1
|
||||||
* Date : 2019-12-19 20:23:57
|
* Date : 2019-12-19 20:23:57
|
||||||
* LastEditors : OBKoro1
|
* LastEditors : OBKoro1
|
||||||
<<<<<<< HEAD
|
* LastEditTime : 2019-12-20 15:40:06
|
||||||
* LastEditTime : 2019-12-20 15:38:38
|
|
||||||
=======
|
|
||||||
* LastEditTime : 2019-12-20 11:38:56
|
|
||||||
>>>>>>> f3727103e7de14f2c3f815eacd27eb642b0b7682
|
|
||||||
* FilePath : /autoCommit/index.js
|
* FilePath : /autoCommit/index.js
|
||||||
* Description : 自动commit
|
* Description : 自动commit
|
||||||
* https://github.com/OBKoro1
|
* https://github.com/OBKoro1
|
||||||
@ -28,7 +24,7 @@ class autoCommit {
|
|||||||
}
|
}
|
||||||
commit() {
|
commit() {
|
||||||
this.myExecSync(
|
this.myExecSync(
|
||||||
`git add . && git commit --amend --date="2019-01-02T00:00:00+0800" -am 'autoCommit' && git pull && git push`
|
`git add . && git commit --amend --date="2019-01-02T00:00:00+0800" -am 'autoCommit' && git push`
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user