geddski / macros

macros support for VS Code
MIT License
165 stars 36 forks source link

Message-less commit & sync #50

Open taiya opened 5 years ago

taiya commented 5 years ago

Note: this is more a use-case than a bug report.

Attempting to have a no-message stage-commit-sync command (for vscode + overleaf easy integration). Used this great extension to get me almost all the way there.. However, not quite sure how to also remove the need to manually write a commit? Thoughts?

settings.json

    //--- Macros (install macros geddski extension)
    "macros": {
        "gitCommitSync": [
            "git.stageAll",
            "git.commitAll",
            // "git.pushAll",
            "git.sync"
        ]
    },

keybindings.json

    {
        "key": "ctrl+alt+cmd+/",
        "command": "macros.gitCommitSync",
    },