/git_user_manager

CLI tool to quickly change between git users

Primary LanguageRustMIT LicenseMIT

git_user_manager

CLI tool written in Rust to quickly switch between git users

Github release status Crates.io Crates.io GitHub

Logo

How to install

Windows

  1. Download the latest release for windows.
  2. Extract the zip file and move gum.exe to C:\Windows\System32.
  3. In your command prompt, run gum --help.

Linux/MacOS

Homebrew

  1. Setup tap: brew tap Sarrus1/formulas
  2. Install: brew install git_user_manager

Manual

  1. Download the latest release for Linux or MacOS.
  2. Extract the tar file and move gum to /usr/local/bin.
  3. In your command prompt, run gum --help.

How to use

Add a user to the store

Users are stored in the store. To add one, use gum add and follow the prompt.

Switch to a user

When in a git repository, switch to a different user by using gum use and follow the prompt or gum use <user>.

Additional commands

Use gum -h for additional commands.