/gm-rs

Git multiple user config manager

Primary LanguageRust

Git multiple user config manager

This project was initialized from gum

Installation

Download binary

Download from release page, and extract to the directory in PATH.

Usage

List all the user config group

$ gum list

Currently used name: admin, email: admin@email.com
╔═════════════════════════════════════╦═══════════╦═════════════════════════════╗
║                Scope                ║    Name   ║            Email            ║
╠═════════════════════════════════════╬═══════════╬═════════════════════════════╣
║ global                              ║ admin     ║ admin@email.com             ║
╠═════════════════════════════════════╬═══════════╬═════════════════════════════╣
║ includeif "gitdir:~/code/personal/" ║ personal  ║ personal@email.com          ║
╠═════════════════════════════════════╬═══════════╬═════════════════════════════╣
║ includeif "gitdir:~/code/company/"  ║ company   ║ company@email.com           ║
╚═════════════════════════════════════╩═══════════╩═════════════════════════════╝

More info

USAGE:
    gum <SUBCOMMAND>

OPTIONS:
    -h, --help       Print help information
    -V, --version    Print version information

SUBCOMMANDS:
    delete    Delete one group
    help      Print this message or the help of the given subcommand(s)
    list      List all the user config group
    set       Set one group for user config