$ npm i -g @gauseen/gum$ gum list
Currently used name=gauseen email=gauseen@gmail.com
┌────────────┬─────────┬─────────────────────────┐
│ group-name │ name │ email │
├────────────┼─────────┼─────────────────────────┤
│ global │ gauseen │ gauseen@gmail.com │
│ user1 │ li si │ lisi@gmail.com │
│ user2 │ wang er │ wanger@gmail.com │
└────────────┴─────────┴─────────────────────────┘$ gum use user1
Currently used name=li si email=lisi@gmail.comUsage: 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] <group-name> Set one group for user config
--name User name
--email User email
use [options] <group-name> Use one group name for user config
--global Git global config
delete <group-name> Delete one group
help [command] display help for command- feat: Support
gum use <group-name> --globalcommands that are not Git repositories
- fix: support user.name contain space
- fix: Group name can't be 'global'
- feat:
gum --versioncmd - fix: support node v9.0.0