A simple cli tool for switching git user easily inspired by Git-User-Switch
Binary releases are here.
Homebrew
brew install matsuyoshi30/gitsu/gitsu
Go (Not recommended)
go get github.com/matsuyoshi30/gitsu
Usage:
git su [flags] # via Homebrew
gitsu [flags] # via Go
Flags:
--global Set user as global.