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

Go Ahead

stackcraftLab

|
8 installs
| (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

Use multiple GitHub accounts on the same laptop without manually changing Git or SSH settings.

If you use one GitHub account for work and another for personal projects, switching between them can be annoying.

You may need to change SSH settings, Git username/email, or the repository remote before you can commit and push to the correct account.

Go Ahead makes this simple.

Select the GitHub account you want to use, and Go Ahead takes care of the configuration for your current repository.


🚀 Why I Built This

I built Go Ahead because I had this problem myself.

I use my laptop for both company work and personal projects. When I switched between repositories, Git would sometimes use my company GitHub account when I actually wanted to commit using my personal account.

I had to manually change Git and SSH configuration to make sure I was using the right account.

So I built Go Ahead to make account switching a one-click operation.


✨ What Go Ahead Does

With Go Ahead, you can:

  • 🔄 Switch GitHub accounts for the current repository
  • 👤 Automatically update your Git user.name
  • 📧 Automatically update your Git user.email
  • 🔗 Update the repository's GitHub remote to the selected account
  • 🔍 Automatically detect which account the repository is currently using
  • 🔐 Test your SSH connection
  • ⚙️ Open and edit your SSH config directly

The idea is simple:

Select account → Switch → Start working.

No need to manually edit SSH config or Git settings every time.


🧑‍💻 Example

Imagine you have two GitHub accounts:

Work

Company GitHub
github.com-agency
work@company.com

Personal

Personal GitHub
github.com-personal
personal@email.com

You're currently working on a personal project.

Instead of manually changing your Git configuration:

Open Go Ahead → Select Personal → Switch

Your repository is now configured to use your personal GitHub account.

When you go back to a company project, simply switch to your Work account.


🎯 Features

Feature What it does
Switch Account Switch the GitHub account used by the current repository
Add Account Add a new GitHub account to Go Ahead
Auto Detect Detect the current account from the repository's remote
Sync Git Config Update Git username and email automatically
Test Connection Test the selected account's SSH connection
Edit SSH Config Open your SSH config directly from VS Code

🛠️ How to Use

1. Open Go Ahead

You can open it from:

  • Command Palette → GitHub Account
  • Right-click → Go Ahead
  • Keyboard shortcut: Ctrl+Shift+G twice
  • Mac: Cmd+Shift+G twice

2. Add Your GitHub Accounts

For each account, add:

  • Name — Personal, Work, etc.
  • SSH Host Alias — for example github.com-personal
  • SSH Key Path — for example ~/.ssh/id_ed25519_personal
  • Email — Git email for the account
  • Username — GitHub username

3. Switch Accounts

Open Go Ahead and select the account you want.

That's it.


🔐 Requirements

Go Ahead works with your existing GitHub SSH setup.

You need:

  • Git installed
  • SSH keys configured for your GitHub accounts
  • An SSH host alias for each account

Example:

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

⚙️ Settings

Setting Default Description
githubAccountSwitcher.syncGitConfigOnSwitch true Automatically update Git username and email
githubAccountSwitcher.testConnectionOnSwitch false Test SSH connection after switching
githubAccountSwitcher.autoDetectFromRemote true Detect the active account from the repository remote

💡 Who Is This For?

Go Ahead is useful if you:

  • Work with personal + company GitHub accounts
  • Use multiple GitHub accounts on the same laptop
  • Frequently switch between work and personal repositories
  • Don't want to manually edit Git or SSH configuration
  • Want a quick way to make sure you're committing with the correct account

❤️ Built From a Real Problem

I built this extension because I needed it myself.

Working with multiple GitHub accounts shouldn't mean remembering SSH aliases, Git commands, and configuration changes every time you switch projects.

Go Ahead lets you focus on your code instead of your Git configuration.

Switch account. Keep coding.


Made by

stackcraftLab


Authors

  • Akash Narkar
  • Harsh Pandere
  • Omkar Potphode
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
  • Your Privacy Choices
  • Consumer Health Privacy
© 2026 Microsoft