gitvisual-studio-codeidekeyboard-shortcutsgit-stage

VS Code stage changes shortcut


What is the VS Code stage changes shortcut?

I mean is it possible to stage a selected file without clicking the plus button in the version control tab?

enter image description here

Maybe there is no shortcut an it is somehow possible to setup one?


Solution

  • git.Stage and git.StageAll. They have no keybinding assigned by default. You can assign a custom one in your keyboard shortcut settings. CMDK+CMDS