https://github.com/matsuyoshi30/gitsu
switch git user easily
https://github.com/matsuyoshi30/gitsu
cli git go golang
Last synced: 7 months ago
JSON representation
switch git user easily
- Host: GitHub
- URL: https://github.com/matsuyoshi30/gitsu
- Owner: matsuyoshi30
- License: mit
- Created: 2020-12-02T06:54:52.000Z (almost 5 years ago)
- Default Branch: main
- Last Pushed: 2022-11-09T14:44:26.000Z (about 3 years ago)
- Last Synced: 2025-03-31T05:08:06.380Z (8 months ago)
- Topics: cli, git, go, golang
- Language: Go
- Homepage:
- Size: 4.51 MB
- Stars: 317
- Watchers: 5
- Forks: 21
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gitsu
A simple cli tool for switching git user easily inspired by [Git-User-Switch](https://github.com/geongeorge/Git-User-Switch)

## Installation
Binary releases are [here](https://github.com/matsuyoshi30/gitsu/releases).
**Homebrew**
```bash
brew install matsuyoshi30/gitsu/gitsu
```
**Go (Not recommended)**
```bash
go get github.com/matsuyoshi30/gitsu
```
#### Requirements
- Go 1.16 ~
## Usage
```bash
USAGE:
git su [global options] command [command options] [arguments...] # via Homebrew
gitsu [global options] command [command options] [arguments...] # via go get
COMMANDS:
delete, d Delete existing user
modify, m Modify existing user
select, s Select existing user
reset, r Remove all saved user profiles
init, i Initialize user config by providing an alias
add, a Add new user
help, h Shows a list of commands or help for one command
```
## LICENSE
[MIT](LICENSE)