Git multiple user config manager. forked from https://github.com/gauseen/gum
JavaScript 100.00%
gum's Introduction
Git multiple user config manager
Intall or Dev
git clone [email protected]:screw-hand/gum.git
cd gum
git remote add upstream [email protected]:gauseen/gum.git
git remote -vv
git fetch --all
git branch master upstream/master
pnpm i
pnpm link --global
# if you need the uninstall, Seel the #Uninstall chapter
Uninstall
# Whether you use pnpm or pnm depends on how you install
(p)npm rm -g @screw-hand/gum
Example
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] │
└────────────┴─────────┴─────────────────────────┘
Usage: gum [options] [command]
Options:
-V, --version output the version number
-h, --help display helpforcommand
Commands:
list|ls List all the user config group
set|s [options] <group-name> Set one group for user config
use|u [options] <group-name> Use one group name for user config
delete|del <group-name> Delete one group
help [command] display helpforcommand
Change Log
v1.0.6
feat: Suport gum list use show the
feat: Suport alias command
v1.0.5
feat: Support gum use <group-name> --global commands that are not Git repositories