VS Code Task: Commit and Push

VS Code Task: Commit and Push

Commands

Add in {PROJECT_SOURCE_DIR}/.vscode/tasks.json:

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
{
    "tasks": [
        {
            "label": "Commit & Push",
            "type": "shell",
            "command": "git add . && git commit -m \"$(date '+%Y-%m-%d %H:%M:%S')\" && git push",
            "problemMatcher": []
        }
    ]
}
comments powered by Disqus
ε†·ζš–δΈ–ζƒ…οΌŒζ―”ζ―”ε¦‚η•«γ€‚
Built with Hugo