git user config manager,help you easy and fast set git local user config
$ npm install -g gitum
- 1.Add user config first
$ gum add forthedamn forthedamn@github.com
$ gum add name name@company.com
- 2.Choose one user config,and your local git will use this user config
$ gum use forthedamn //switch config to forthedamn
Local user config has been set to: forthedamn
$ gum ls
* forthedamn - forthedamn@github.com
name -- name@company.com
Usage: gum [options] [command]
Options:
-V, --version output the version number
-h, --help output usage information
Commands:
ls List all the git user config
use <username> Change git user config to username
add <username> <email> Add one custom user config
del <username> Delete one custom user config
help Print this help
MIT