{ "version": "2.0.0", "tasks": [ { "label": "Git Commit & Push", "type": "shell", "command": "git add . ; git commit -m '$(date) 自动提交'; git push", "problemMatcher": [], "options": { "cwd": "${workspaceFolder}" } } ] // "inputs": [ // { // "id": "commitMessage", // "type": "promptString", // "description": "输入提交信息:", // "default": "Auto commit via VS Code Task" // } // ] }