diff --git a/.vscode/tasks.json b/.vscode/tasks.json new file mode 100644 index 0000000..979b117 --- /dev/null +++ b/.vscode/tasks.json @@ -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" + } + ] + } \ No newline at end of file