@wst7/gum
v1.1.9
Published
Git User Manager - Switch between git users easily
Readme
gum
Git User Manager - Switch between git users easily.
Installation
npm / GitHub Packages
npm install -g @wst7/gum
Standalone Binary (No Bun required)
Download from GitHub Releases:
| Platform | Download |
|----------|----------|
| macOS ARM64 | gum-x.x.x-darwin-arm64.tar.gz |
| macOS x64 | gum-x.x.x-darwin-x64.tar.gz |
| Linux ARM64 | gum-x.x.x-linux-arm64.tar.gz |
| Linux x64 | gum-x.x.x-linux-x64.tar.gz |
| Windows | gum-x.x.x-windows-x64.zip |
Usage
gum add <name> <email> Add a new user configuration
gum rm <name> Remove a user configuration
gum ls List all configured users
gum use <name> Set git user for current repository
gum cur Show current git user configurationExamples
Add a user
gum add work [email protected]
# SUCCESS User 'work' added. Run gum use work to use it.List users
gum ls
# * work [email protected]
# personal [email protected]Switch user in a repository
gum use work
# SUCCESS Now using 'work' ([email protected]) in this repository.Show current git config
gum cur
# * work [email protected]Configuration
~/.gumrc - INI format, stores all named user configurations:
[user "work"]
[email protected]
[user "personal"]
[email protected]~/.gitconfig- Global git config (read as fallback)./.git/config- Local git config (modified bygum use)
Development
bun install
bun run dev -- [command]
bun run typecheckBuilding
bun run buildTesting
bun testRelease
npm run releaseLicense
MIT
