Skip to content

Switch git user, email and signingKey at ease.

Notifications You must be signed in to change notification settings

qiutian00/sugit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sugit

Switch git user, email and signingKey at ease.

npm

Install

npm i -g sugit

Usage

Usage: sug [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 = [email protected]
	name = Luis Li

You can additionally reset the cli data store by running:

sug -r

About

Switch git user, email and signingKey at ease.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published