1 unstable release

0.2.0 Nov 4, 2022

#863 in Configuration

GPL-2.0-or-later

13KB
237 lines

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

Dependencies

~5.5–7MB
~122K SLoC