From 93eb6a8d1d8187260a6274ebb5d135f13f54b985 Mon Sep 17 00:00:00 2001 From: etoai Date: Wed, 19 Mar 2025 11:40:00 +0800 Subject: [PATCH] Auto commit via VS Code Task --- .vscode/tasks.json | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .vscode/tasks.json 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