gitusr is a fast and simple CLI tool built in Go that allows you to effortlessly switch between multiple global Git users.
This tool was inspired by kubectx and kubens.
You can install using the go command:
go install github.com/surbytes/gitusr
or clone the project
git clone https://github.com/surbytes/gitusr.git
cd gitusr; go build -o gitusr main.go
./gitusr
To ensure gitusr works correctly, users should configure their .gitconfig file so that each [users "<name>"]
section represents a global Git user, as follows: