Skip to content

blue-goheimochi/mgu

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

mgu

mgu - Manage git local users.

Install

$ go get github.com/blue-goheimochi/mgu

Usage

  • Create setting file

    $ mgu init
    ~/.config/mgu/setting.json has been created
    
  • Confirm Current User

    $ mgu
    blue-goheimochi <blue-goheimochi@example.com>
    
  • Add User You can add users interactively.

    $ mgu add
    ? user.name blue-goheimochi
    ? user.email blue-goheimochi@example.com
    blue-goheimochi <blue-goheimochi@example.com> is added.
    
  • Confirm user list

    $ mgu list
    blue-goheimochi <blue-goheimochi@example.com>
    pink-goheimochi <pink-goheimochi@example.com>
    
  • Remove user

    $ mgu remove
    ? Please select a user
      blue-goheimochi <blue-goheimochi@example.com>
    > pink-goheimochi <pink-goheimochi@example.com>
    ? Do you want to remove? [y/N] y
    pink-goheimochi <pink-goheimochi@example.com> is removed.
    
  • Set User

    $ mgu set
    ? Please select a user: (current: blue-goheimochi <blue-goheimochi@example.com>) 
    > blue-goheimochi <blue-goheimochi@example.com>
      pink-goheimochi <pink-goheimochi@example.com>
    blue-goheimochi <blue-goheimochi@example.com> has been set as a Git' local user.
    

License

MIT

Author

blue-goheimochi

About

Manage git local users.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages