https://github.com/sysulq/gt
Simple git repo clone tool with workspace support
https://github.com/sysulq/gt
Last synced: 5 months ago
JSON representation
Simple git repo clone tool with workspace support
- Host: GitHub
- URL: https://github.com/sysulq/gt
- Owner: sysulq
- License: mit
- Created: 2023-06-27T08:05:36.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2025-02-17T10:11:49.000Z (over 1 year ago)
- Last Synced: 2025-10-28T05:32:07.643Z (8 months ago)
- Language: Go
- Size: 68.4 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# gt
Simple git repo clone tool with workspace support
## Install
```sh
go install github.com/hnlq715/gt@latest
```
## Create `.gtconfig.yaml` in $HOME dir
Specify gitconfig for each host, which means you can use different email for different git host.
```yaml
gitconfig:
- host: github.com
email: hnlq.sysu@gmail.com
- host: gitlab.com
email: xyz@gitlab.com
```
## Usage
```sh
NAME:
gt - Simple git repo clone tool with workspace support
USAGE:
gt [global options] command [command options] [arguments...]
COMMANDS:
help, h Shows a list of commands or help for one command
GLOBAL OPTIONS:
--workspace value workspace path (default: "/home/pilot/workspace")
--help, -h show help
```