https://github.com/forthedamn/gitum
git user config manager,help you easy and fast set git local user config
https://github.com/forthedamn/gitum
git git-config git-user git-user-manager
Last synced: 7 months ago
JSON representation
git user config manager,help you easy and fast set git local user config
- Host: GitHub
- URL: https://github.com/forthedamn/gitum
- Owner: forthedamn
- Created: 2018-12-18T14:25:12.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2021-09-07T09:28:43.000Z (about 4 years ago)
- Last Synced: 2025-03-15T09:42:54.801Z (8 months ago)
- Topics: git, git-config, git-user, git-user-manager
- Language: JavaScript
- Homepage:
- Size: 34.2 KB
- Stars: 8
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# gitum -- git user manager
[![NPM version][npm-image]][npm-url]
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 Change git user config to username
add Add one custom user config
del Delete one custom user config
help Print this help
```
## LICENSE
MIT
[npm-image]: https://img.shields.io/npm/v/gitum.svg?style=flat-square
[npm-url]: https://npmjs.org/package/gitum