A VS Code extension that streamlines Git checkout operations by allowing direct checkout in the current repository, without the need to select a repository—even in projects with submodules.
Features
Checkout branches directly in the currently selected repository
No extra repository selection steps required
Works seamlessly with submodules
Usage
Open a Git repository in VS Code
Open the Command Palette (Ctrl+Shift+P / Cmd+Shift+P)
Type "Git: Checkout to in the current repository"
Select a branch to checkout
How to Test Locally
If you already have the extension installed, please disable it before testing.
Clone or download this repository.
Install dependencies:
npm install
Open this folder in VS Code.
Press F5 or select "Extension" from the "Run and Debug" panel to start debugging.
In the newly launched Extension Development Host window, open the Command Palette and run "Git: Checkout to in the current repository" to verify the extension works.