New: Introducing PHP and Composer Support.Read the Announcement
Socket
Book a DemoInstallSign in
Socket

gitswitch

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gitswitch

git@github.com:huozhi/gitswitch.git

latest
Source
npmnpm
Version
0.2.3
Version published
Maintainers
1
Created
Source

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

Keywords

git

FAQs

Package last updated on 19 Mar 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts