{ "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" } ] }