git-user-switch-new

0.6.2 • Public • Published

Git User Switch

Manage/Switch/Scan 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
  -i, --info     Show current git user
  -s, --switch   Switch git user
  -c, --create   Create a new git user
  -S, --scan     Scan all git repo in current directory, and show the git user of each repo

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

Readme

Keywords

Package Sidebar

Install

npm i git-user-switch-new

Weekly Downloads

2

Version

0.6.2

License

MIT

Unpacked Size

14.3 kB

Total Files

11

Last publish

Collaborators

  • 0xethcoder