git-usr
You can easily set git repository user config(user.name and user.email)
Install
npm i -g git-usr
Usage
gusr [command]
Commands:
config <user.name> <user.email> add or update configremove <user.name> remove configexample user@example.comhelp [cmd] display help
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.com
Add or update config
Just:
gusr config userName user@email.com
Then
gusr userName
Remove config
gusr remove userName