gum-rs

Crates.iogum-rs
lib.rsgum-rs
version0.2.0
sourcesrc
created_at2022-11-04 21:01:07.04135
updated_at2022-11-04 21:01:07.04135
descriptionGit multiple user config manager
homepagehttps://github.com/liby/gm-rs
repositoryhttps://github.com/liby/gm-rs
max_upload_size
id705459
size21,547
Glib Glugovskiy (GlugovGrGlib)

documentation

https://github.com/liby/gm-rs#usage

README

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
Commit count: 13

cargo fmt