change-git-user 1.0.1

Manage multiple git configurations
change-git-user-1.0.1 is not a library.

cgu

Crates.io Crates.io CI

Manage multiple git configurations

Inspired by Git-User-Switch.

Installation

# this will install the executable `cgu`
cargo install change-git-user

Usage

# This will spawn prompts to guide you through managing user configurations
cgu

Features

  • Switch user.name and user.email config
  • Assign an optional user.signingKey to the config
  • Give the config a name to remember it by (e.g. "Work" or "Personal")
  • Uses git2 to discover a repository and manipulate its config