Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GitGlobalSwitcherNew to Visual Studio Code? Get it now.
GitGlobalSwitcher

GitGlobalSwitcher

denjico

|
3 installs
| (0) | Free
A VS Code extension to easily switch between different GitHub accounts by configuring Git global user settings
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GitHub User Switcher

A Visual Studio Code extension that allows you to easily switch between different GitHub accounts by automatically configuring the global Git user and email.

🚀 Features

  • Quick user switching: Switch between multiple GitHub accounts with a single click
  • Account management: Add, remove, and manage your GitHub accounts from VS Code
  • Integrated sidebar: Quick access to all functions from the sidebar
  • Data persistence: Your accounts are saved locally and persist between sessions

📋 Requirements

  • Visual Studio Code 1.98.0 or higher
  • Git installed on your system
  • GitHub accounts configured

🛠️ Installation

  1. Open Visual Studio Code
  2. Go to the extensions tab (Ctrl+Shift+X)
  3. Search for "GitHub User Switcher"
  4. Click "Install"

🎯 How to use

Sidebar

The extension adds a new sidebar called "GitHub Switcher" with the following options:

  • Add User: Add a new GitHub account
  • Switch User: Switch to an existing account
  • Remove User: Remove a saved account
  • Show Current User: View the currently configured account

Available commands

You can also access the functions from the command palette (Ctrl+Shift+P):

  • GitHub User Switcher: Add GitHub User
  • GitHub User Switcher: Switch GitHub User
  • GitHub User Switcher: Remove GitHub User
  • GitHub User Switcher: watch GitHub User

📖 Usage guide

1. Add a new account

  1. Click "Add User" in the sidebar or run the corresponding command
  2. Enter your GitHub username
  3. Enter your GitHub email
  4. The account will be saved automatically

2. Switch accounts

  1. Click "Switch User" in the sidebar
  2. Select the desired account from the list
  3. The extension will automatically configure Git with that account's data
  4. You'll see a notification confirming the change

3. View current account

  1. Click "Show Current User" to see which account is currently configured
  2. A notification will be displayed with the current name and email

4. Remove an account

  1. Click "Remove User" in the sidebar
  2. Select the account you want to remove
  3. The account will be removed from the list

⚙️ Configuration

The extension automatically saves your accounts in a local JSON file. No additional configuration is required.

Calling out known issues can help limit users opening duplicate issues against your extension.

Release Notes

Users appreciate release notes as you update your extension.

1.0.1

🐛 Troubleshooting

Error configuring Git

  • Make sure Git is installed and accessible from the command line
  • Verify that you have permissions to run Git commands

Accounts are not saved

  • Verify that VS Code has write permissions in the extension directory
  • Restart VS Code if the problem persists

Sidebar doesn't appear

  • Make sure the extension is activated
  • Go to View > Command Palette and run "Developer: Reload Window"

📝 Release notes

v0.0.1

  • Initial release
  • Basic user switching functionality
  • Integrated sidebar
  • Account management (add/remove)
  • Current user verification

🤝 Contributing

If you find any issues or have suggestions, please:

  1. Open an issue in the repository
  2. Describe the problem or suggestion
  3. Include steps to reproduce the problem (if applicable)

📄 License

This project is under the MIT License.

🙏 Acknowledgments

Thank you for using GitHub User Switcher. We hope it helps you manage your multiple GitHub accounts more efficiently.


Enjoy switching between your GitHub accounts easily and quickly! 🎉

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