Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/gauseen/gum
Git multiple user config manager
https://github.com/gauseen/gum
configuration git git-config manager multiple user
Last synced: 3 days ago
JSON representation
Git multiple user config manager
- Host: GitHub
- URL: https://github.com/gauseen/gum
- Owner: gauseen
- Created: 2021-06-24T10:17:54.000Z (over 3 years ago)
- Default Branch: master
- Last Pushed: 2023-10-26T17:33:29.000Z (about 1 year ago)
- Last Synced: 2024-12-14T07:10:27.082Z (12 days ago)
- Topics: configuration, git, git-config, manager, multiple, user
- Language: JavaScript
- Homepage:
- Size: 13.7 KB
- Stars: 307
- Watchers: 5
- Forks: 16
- Open Issues: 7
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Git multiple user config manager
## Install
```sh
$ npm i -g @gauseen/gum
```## Example
```sh
$ gum listCurrently 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 user1Currently used name=li si [email protected]
```## Usage
```sh
Usage: gum [options] [command]Options:
-V, --version output the version number
-h, --help display help for commandCommands:
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