Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

git-user-switch

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

git-user-switch

Switch git user quickly

  • 0.6.2
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
49
increased by172.22%
Maintainers
1
Weekly downloads
 
Created
Source

Git User Switch

Switch git user, email and signingKey at ease.

Install

npm i -g git-user-switch

Usage

Usage: git-user [options]

Switch git users quickly. Switches locally by default

Options:
  -V, --version  output the version number
  -g, --global   Switch global git user
  -d, --delete   Delete a git user from the listing
  -r, --reset    Deletes all data and resets
  -h, --help     display help for command

Troubleshoot

In case this messes up any of your git configs because of bad input. Just edit:

Global : ~/.gitconfig Local Project : project/.git/config

[user]
	email = geongeorgexyz@gmail.com
	name = Geon George

You can additionally reset the cli data store by running:

git-user -r

Keywords

FAQs

Package last updated on 16 Apr 2022

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc