visual-studio-code

What is the keyboard shortcut for switching branches?


Almost everything can be done in VS Code using the keyboard, which I love, but I cannot find out how to change branches but for clicking on the branch name in the bottom right corner.

An internet search brought up very little, is there something I'm missing?


Solution

  • If you are using git, you can go to keyboard shortcuts by going to preferences -> keyboard shortcuts and search for Git: Checkout to and change this to your prefered shortcut.

    enter image description here