A CLI tool to easily switch between users in a repository. It allows having a collection of user information and easily set them as local or global user using a key.
- .NET 6.0 runtime or above
- Git
- Download the latest version from releases.
- Place the application on any directory you want.
- Add the directory to the PATH user varible. (Guide)
- Run the app on Windows Terminal/Powershell/Command Prompt or any other terminal.
- To see available commands, arguments, and options, run:
It will show the help documentation.
gitsw -h
Description: A tool to easily switch between users in a repository Usage: gitsw [command] [options] Options: --version Show version information -?, -h, --help Show help and usage information Commands: user Show user information init Create an empty Git repository or reinitialize an existing one
gitsw user
gitsw user -g
gitsw user -a
gitsw user add "key" "name" "email"
gitsw user add "key" "name" "email" -s
gitsw user switch "key"
gitsw user switch "key" -g
gitsw init -u "key"
This project is under the MIT License.