/gitum

git user config manager,help you easy and fast set git local user config

Primary LanguageJavaScript

gitum -- git user manager

NPM version

git user config manager,help you easy and fast set git local user config

Install

$ npm install -g gitum

Example

  • 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

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

LICENSE

MIT