Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Go AheadNew to Visual Studio Code? Get it now.
Go Ahead

Go Ahead

stackcraftLab

|
1 install
| (0) | Free
Manage multiple GitHub SSH accounts seamlessly – switch keys, remotes, and git config in one click.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Go Ahead — GitHub Account Switcher

Switch between multiple GitHub SSH accounts instantly, right inside VS Code.

Built for developers who juggle personal and work GitHub accounts on the same machine.


What It Does

Managing multiple GitHub accounts usually means editing SSH configs, changing remotes, and updating git configs manually — every single time. Go Ahead does all of that in one click.

  • Switch GitHub accounts without touching the terminal
  • Automatically updates user.name and user.email in your git config
  • Updates the remote URL of your current repo to match the selected account
  • Detects which account is active based on your remote URL

Features

Feature Description
Switch Account Change the active GitHub SSH account for the current repo
Add New Account Register a new SSH account with its key and host alias
Test Connection Run ssh -T to verify the selected account works
Edit SSH Config Open your ~/.ssh/config file directly
Sync Git Config Sync user.name and user.email to match the active account
Auto Detect Reads your remote URL to detect which account is already active

How to Use

Open the Panel

  • Press Ctrl+Shift+G twice (Cmd+Shift+G on Mac)
  • Or right-click in the editor/explorer → Go Ahead
  • Or open the Command Palette (Ctrl+Shift+P) and type GitHub Account

First Time Setup

  1. Open the panel
  2. Click Add New Account
  3. Fill in:
    • Name — e.g. Personal or Agency
    • SSH Host Alias — the Host entry from your ~/.ssh/config (e.g. github.com-agency)
    • SSH Key Path — path to your private key (e.g. ~/.ssh/id_ed25519_agency)
    • Email — your GitHub email for this account
    • Username — your GitHub username for this account

Switching Accounts

  1. Open the panel
  2. Click Switch Account
  3. Select the account you want — done!

Requirements

  • Git installed and available in terminal
  • SSH keys already set up for each GitHub account
  • ~/.ssh/config configured with a Host alias per account

Example ~/.ssh/config

Host github.com-personal
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_ed25519_personal

Host github.com-agency
  HostName github.com
  User git
  IdentityFile ~/.ssh/id_ed25519_agency

Extension Settings

Setting Default Description
githubAccountSwitcher.syncGitConfigOnSwitch true Auto-update user.name and user.email when switching
githubAccountSwitcher.testConnectionOnSwitch false Run ssh -T to verify connection after switching
githubAccountSwitcher.autoDetectFromRemote true Detect active account from the repo's remote URL

Made by stackcraftLab

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft