1.0.0 • Published 9 years ago
git-usr v1.0.0
git-usr
You can easily set git repository user config(user.name and user.email)
Install
npm i -g git-usrUsage
gusr [command]Commands:
config <user.name> <user.email> add or update (<user.name>=<user.email>) config
remove <user.name> remove (<user.name>) config
example user@example.com
help [cmd] display help for [cmd]The command is one of the <user.name> you added by config command.
Exec gusr example and your git repository [user] config will be:
[user]
name = example
email = user@example.comAdd or update config
Just:
gusr config userName user@email.comThen
gusr userNameRemove config
gusr remove userName