mgu - Manage git local users.
$ go get github.com/blue-goheimochi/mgu
-
Create setting file
$ mgu init ~/.config/mgu/setting.json has been created
-
Confirm Current User
$ mgu blue-goheimochi <[email protected]>
-
Add User You can add users interactively.
$ mgu add ? user.name blue-goheimochi ? user.email [email protected] blue-goheimochi <[email protected]> is added.
-
Confirm user list
$ mgu list blue-goheimochi <[email protected]> pink-goheimochi <[email protected]>
-
Remove user
$ mgu remove ? Please select a user blue-goheimochi <[email protected]> > pink-goheimochi <[email protected]> ? Do you want to remove? [y/N] y pink-goheimochi <[email protected]> is removed.
-
Set User
$ mgu set ? Please select a user: (current: blue-goheimochi <[email protected]>) > blue-goheimochi <[email protected]> pink-goheimochi <[email protected]> blue-goheimochi <[email protected]> has been set as a Git' local user.
MIT
blue-goheimochi