Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git User SwitcherNew to Visual Studio Code? Get it now.
Git User Switcher

Git User Switcher

ThatRedGuy

|
11 installs
| (0) | Free
Quickly switch between multiple Git user configurations for different projects
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git User Switcher

A VS Code extension that makes it easy to switch between multiple Git user configurations for different projects.

Features

  • Quick Switching: Easily switch between saved Git user profiles via the command palette
  • Profile Management: Save, manage, and delete multiple Git user configurations
  • Current User Display: View the currently configured Git user for your workspace
  • Email Validation: Built-in validation when adding new profiles

Usage

1. Add a Profile

Open the command palette (Cmd+Shift+P on macOS or Ctrl+Shift+P on Windows/Linux) and run:

Git User Switcher: Add Profile

You'll be prompted to enter:

  • Git user name (e.g., "John Doe")
  • Git user email (e.g., "john.doe@example.com")
  • Optional label (e.g., "Work", "Personal")

2. Switch Users

Open the command palette and run:

Git User Switcher: Switch User

Select from your saved profiles to instantly configure Git for the current workspace.

3. Show Current User

To see which Git user is currently configured:

Git User Switcher: Show Current User

4. Delete Profiles

To delete saved profiles:

Git User Switcher: Delete Profiles

Commands

  • Git User Switcher: Switch User - Switch between saved Git user profiles
  • Git User Switcher: Add Profile - Add a new Git user profile
  • Git User Switcher: Delete Profiles - Delete saved profiles
  • Git User Switcher: Show Current User - Display the current Git user configuration

How It Works

This extension uses Git's local repository configuration to set the user name and email. When you switch users, it runs:

git config user.name "Your Name"
git config user.email "your.email@example.com"

These settings are applied to the current workspace only and don't affect your global Git configuration.

Requirements

  • VS Code 1.108.1 or higher
  • Git must be installed on your system

Extension Settings

This extension stores user profiles globally in VS Code, so they're available across all your workspaces.

Known Issues

None at this time. Please report issues on the GitHub repository.

Release Notes

0.0.1

Initial release of Git User Switcher:

  • Switch between multiple Git user profiles
  • Add, manage, and delete profiles
  • View current Git user configuration

Enjoy!

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