项目作者: forthedamn

项目描述 :
git user config manager,help you easy and fast set git local user config
高级语言: JavaScript
项目地址: git://github.com/forthedamn/gitum.git
创建时间: 2018-12-18T14:25:12Z
项目社区:https://github.com/forthedamn/gitum

开源协议:

下载


gitum — git user manager

NPM version

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

Install

  1. $ npm install -g gitum

Example

  • 1.Add user config first
  1. $ gum add forthedamn forthedamn@github.com
  2. $ gum add name name@company.com
  • 2.Choose one user config,and your local git will use this user config
  1. $ gum use forthedamn //switch config to forthedamn
  2. Local user config has been set to: forthedamn
  1. $ gum ls
  2. * forthedamn - forthedamn@github.com
  3. name -- name@company.com

Usage

  1. Usage: gum [options] [command]
  2. Options:
  3. -V, --version output the version number
  4. -h, --help output usage information
  5. Commands:
  6. ls List all the git user config
  7. use <username> Change git user config to username
  8. add <username> <email> Add one custom user config
  9. del <username> Delete one custom user config
  10. help Print this help

LICENSE

MIT