Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

v2.0.1 #14

Merged
merged 3 commits into from
Jun 16, 2017
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 6 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@ os:
- osx

node_js:
- '6.9.0'
- '6.10.0'
- '7'
- '8'
- '6.0'
- '6.11'
- '7.0'
- '7.10'
- '8.0'
- '8.1'

cache:
yarn: true
Expand Down
18 changes: 9 additions & 9 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,9 @@
[![Greenkeeper badge](https://badges.greenkeeper.io/WindomZ/gituser.js.svg)](https://greenkeeper.io/)
[![Build Status](https://travis-ci.org/WindomZ/gituser.js.svg?branch=master)](https://travis-ci.org/WindomZ/gituser.js)
[![Coverage Status](https://coveralls.io/repos/github/WindomZ/gituser.js/badge.svg?branch=master)](https://coveralls.io/github/WindomZ/gituser.js?branch=master)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)
[![Dependency](https://david-dm.org/WindomZ/gituser.js.svg)](https://david-dm.org/WindomZ/gituser.js)
[![Standard - JavaScript Style Guide](https://img.shields.io/badge/code_style-standard-brightgreen.svg)](https://standardjs.com/)
[![License](https://img.shields.io/badge/license-MIT-green.svg)](https://opensource.org/licenses/MIT)

> Easily switch git config users.

Expand Down Expand Up @@ -49,14 +49,14 @@ $ gituser -h
## Example

```bash
$ gituser add WindomZ WindomZ@users.noreply.github.com # Save 'WindomZ' into configuration file
$ gituser save WindomZ --private-github # Ibid, but email is GitHub privacy address
$ gituser rm WindomZ # Delete 'WindomZ' from configuration file
$ gituser rm # Delete selected from configuration file
$ gituser list # List all saved users
$ gituser set WindomZ # Set local git user and email
$ gituser set # Set local git selected user and email
$ gituser unset # Unset local git user and email
gituser add WindomZ WindomZ@users.noreply.github.com # Save 'WindomZ' into configuration file
gituser save WindomZ --private-github # Ibid, but email is GitHub privacy address
gituser rm WindomZ # Delete 'WindomZ' from configuration file
gituser rm # Delete the selected from configuration file
gituser list # List all saved users
gituser set WindomZ # Set local git user and email
gituser set # Set local git selected user and email
gituser unset # Unset local git user and email
```

## Related
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "gituser",
"version": "2.0.0",
"version": "2.0.1",
"description": "Easily switch git users.",
"preferGlobal": true,
"main": "index.js",
"bin": {
"gituser": "./bin/gituser.js"
},
"engines": {
"node": ">= 0.6.x"
"node": ">=6"
},
"scripts": {
"test": "standard && nyc --reporter=lcov --reporter=text-lcov ava",
Expand Down