git-account
git-account adds user management feature to `git`.
Last updated 4 months ago by uetchy .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install git-account 
SYNC missed versions from official npm registry.

git-account

npm version Build Status Coverage Status

git-account adds user management feature to git. It makes you able to change user.name, user.email and private key at ease.

Installation

npm i -g git-account

Usage

$ git account <command> [<args>]

Real world example

$ git account add
? ID uetchy
? Name Yasuaki Uechi
? Email y@uechi.io
? Private Key /Users/uetchy/.ssh/id_rsa
User created
KEY        VALUE
id         uetchy
name       Yasuaki Uechi
email      y@uechi.io
privateKey /Users/uetchy/.ssh/id_rsa

$ git account switch
? choose one Yasuaki Uechi <y@uechi.io>
Switched

$ git account status
KEY        VALUE
name       Yasuaki Uechi
email      y@uechi.io
privateKey /Users/uetchy/.ssh/id_rsa

All config will be saved to ~/.git-account

Commands

status         Show current status
list           List users
switch [name]  Switch user
exec           Run command
add            Add user
remove         Remove user
help [cmd]     display help for [cmd]

Current Tags

  • 1.3.0                                ...           latest (4 months ago)

6 Versions

  • 1.3.0                                ...           4 months ago
  • 1.2.0                                ...           5 months ago
  • 1.1.2                                ...           2 years ago
  • 1.1.1                                ...           2 years ago
  • 1.1.0                                ...           2 years ago
  • 1.0.0                                ...           4 years ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 1
Last Day 0
Last Week 0
Last Month 4
Dependencies (10)
Dev Dependencies (13)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |