gitswitch

0.2.3 • Public • Published

Git-Switch - git profile manager

Install

npm install -g gitswitch

Usage

gitswitch ls

$ gitswitch ls

github
 - name: huozhi
 - email: huozhi@company.com
work
 - name: mr
 - email: mr@workspace.com

gitswitch add [alias] [name] [email]

$ gitswitch add github huozhi huozhi@company.com

gitswitch use [alias]

$ cd ~/workspace/your-repo
$ gitswitch use github

$ cat .git/config

[user]
name = huozhi
email = huozhi@company.com

gitswitch override [old email] [new name] [new email]

override git commit history of [old email] with name [new name] and email [new email]

LICENSE

MIT

Readme

Keywords

Package Sidebar

Install

npm i gitswitch

Weekly Downloads

2

Version

0.2.3

License

MIT

Unpacked Size

4.51 kB

Total Files

3

Last publish

Collaborators

  • huozhi