https://github.com/kijimad/gclone
Literate git clone
https://github.com/kijimad/gclone
cli git-clone
Last synced: 20 days ago
JSON representation
Literate git clone
- Host: GitHub
- URL: https://github.com/kijimad/gclone
- Owner: kijimad
- License: gpl-3.0
- Created: 2022-09-23T08:56:14.000Z (over 3 years ago)
- Default Branch: main
- Last Pushed: 2023-09-18T09:44:42.000Z (over 2 years ago)
- Last Synced: 2025-12-31T02:18:42.984Z (about 1 month ago)
- Topics: cli, git-clone
- Language: Go
- Homepage:
- Size: 71.3 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
[](https://github.com/kijimaD/gclone/actions/workflows/check.yml)
# gclone

gclone is literate `git clone` cli tool.
```
$ gclone
────────────────────────
Save dir: /root/Project1
Repo count: 2
────────────────────────
⢿✔ git@github.com:fatih/color.git
⡿✔ git@github.com:joho/godotenv.git
────────────────────────
Save dir: /root/Project2
Repo count: 2
────────────────────────
⡿✔ git@github.com:kijimaD/my_go.git
⣻✔ git@github.com:kijimaD/gin_hello.git
done!
Success: 4
Fail: 0
Process: 8760ms
```
# Install
```sh
$ go install github.com/kijimaD/gclone@main
```
# How to use
`gclone.yml` example
```yaml
groups:
- dest: '~/Project/test0'
repos:
- git@github.com:kijimaD/my_go.git
- git@github.com:kijimaD/gin_hello.git
- dest: '~/Project/test1'
repos:
- git@github.com:fatih/color.git
- git@github.com:joho/godotenv.git
```
and run!(gclone.yml exist on current directory )
```shell
$ gclone
```
# Options
-f: config file path
```shell
$ gclone -f dir/gclone.yml
```
# Docker
This command is for testing, not save result your disk. If you want to save disk, mount save directory.
```shell
docker run --rm \
-it \
-v "${PWD}":/workdir \
-v "${HOME}/.ssh":/root/.ssh \
ghcr.io/kijimad/gclone:latest
```