Skip to content

Files

Latest commit

 

History

History
29 lines (18 loc) · 864 Bytes

README.md

File metadata and controls

29 lines (18 loc) · 864 Bytes

gitusr

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.

terminal example

Installation

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

Configuration

To ensure gitusr works correctly, users should configure their .gitconfig file so that each [users "<name>"] section represents a global Git user, as follows:

image