Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/gauseen/gum

Git multiple user config manager
https://github.com/gauseen/gum

configuration git git-config manager multiple user

Last synced: about 2 months ago
JSON representation

Git multiple user config manager

Awesome Lists containing this project

README

        

# Git multiple user config manager

## Install

```sh
$ npm i -g @gauseen/gum
```

## Example

```sh
$ gum list

Currently used name=gauseen [email protected]
┌────────────┬─────────┬─────────────────────────┐
│ group-name │ name │ email │
├────────────┼─────────┼─────────────────────────┤
│ global │ gauseen │ [email protected]
│ user1 │ li si │ [email protected]
│ user2 │ wang er │ [email protected]
└────────────┴─────────┴─────────────────────────┘
```

```sh
$ gum use user1

Currently used name=li si [email protected]
```

## Usage

```sh
Usage: gum [options] [command]

Options:
-V, --version output the version number
-h, --help display help for command

Commands:
list List all the user config group
set [options] Set one group for user config
--name User name
--email User email
use [options] Use one group name for user config
--global Git global config
delete Delete one group
help [command] display help for command
```

## Change Log

### v1.0.5

- feat: Support `gum use --global` commands that are not Git repositories

### v1.0.4

- fix: support user.name contain space

### v1.0.3

- fix: Group name can't be 'global'

### v1.0.2

- feat: `gum --version` cmd
- fix: support node v9.0.0