Auto commit via VS Code Task
This commit is contained in:
parent
61ba2fce17
commit
93eb6a8d1d
22
.vscode/tasks.json
vendored
Normal file
22
.vscode/tasks.json
vendored
Normal file
@ -0,0 +1,22 @@
|
||||
{
|
||||
"version": "2.0.0",
|
||||
"tasks": [
|
||||
{
|
||||
"label": "Git Commit & Push",
|
||||
"type": "shell",
|
||||
"command": "git add . ; git commit -m '${input:commitMessage}' ; git push",
|
||||
"problemMatcher": [],
|
||||
"options": {
|
||||
"cwd": "${workspaceFolder}"
|
||||
}
|
||||
}
|
||||
],
|
||||
"inputs": [
|
||||
{
|
||||
"id": "commitMessage",
|
||||
"type": "promptString",
|
||||
"description": "输入提交信息:",
|
||||
"default": "Auto commit via VS Code Task"
|
||||
}
|
||||
]
|
||||
}
|
||||
Loading…
x
Reference in New Issue
Block a user