Commit all changed with specific message using [ctrl+alt+c]

  • very quick
  • enter commit message in a prompt instead of a file with setting "git.useEditorAsCommitInput": false,
  • Bind ctrl+alt+c to Git: Commit All

See changes in source control side bar using [ctrl+shift+g]

  • see changed files
  • stage and unstage files

Rebase and publish all local commit to the remote main branch using [ctrl+shift+p]

All keyboard shortcuts

    {
        "key": "ctrl+alt+c",
        "command": "git.commitAll"
    },
    {
        "key": "ctrl+shift+p",
        "command": "terminalCommandKeys.run",
        "args": {
            "cmd": "\u0001git-publish.ps1"
        },
    },

All settings

"git.useEditorAsCommitInput": false,

Sources:

Related:

NameThumbnailModportal linksCategoriesDescription
Terminal Command KeysExtensions, Web MarketplaceVersion controlAssign terminal commands to a keybinding.
Git GraphExtensions, Web MarketplaceVersion controlView a Git Graph of your repository, and easily perform Git actions from the graph. Configurable to look the way you want!
Git rebase shortcutExtensions, Web MarketplaceVersion controlUse keyboard shortcuts to quickly edit the actions of an interactive Git rebase.

Tags:
Visual Studio Code