$(%Y-%m-%d %H:%M:%S) 自动提交
This commit is contained in:
parent
93eb6a8d1d
commit
f4858836b1
18
.vscode/tasks.json
vendored
18
.vscode/tasks.json
vendored
@ -4,19 +4,19 @@
|
||||
{
|
||||
"label": "Git Commit & Push",
|
||||
"type": "shell",
|
||||
"command": "git add . ; git commit -m '${input:commitMessage}' ; git push",
|
||||
"command": "git add . ; git commit -m '$(%Y-%m-%d %H:%M:%S) 自动提交'; git push",
|
||||
"problemMatcher": [],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "commitMessage",
|
||||
"type": "promptString",
|
||||
"description": "输入提交信息:",
|
||||
"default": "Auto commit via VS Code Task"
|
||||
}
|
||||
]
|
||||
// "inputs": [
|
||||
// {
|
||||
// "id": "commitMessage",
|
||||
// "type": "promptString",
|
||||
// "description": "输入提交信息:",
|
||||
// "default": "Auto commit via VS Code Task"
|
||||
// }
|
||||
// ]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user