CLI to clone multiple git repositories in parallel
(under development)
git clone [email protected]:yagikota/git-multi.git
cd git-multi
go run main.go multiclone -h
multiclone clones multiple git repositories in parallel
Usage:
git-multi multiclone [flags]
Flags:
-h, --help help for multiclone
--maxgoroutine int max number of goroutine (default 10)
go run main.go multiclone --maxgoroutine=10 [email protected]:gin-gonic/gin.git [email protected]:labstack/echo.git [email protected]:beego/beego.git
==> Cloning 3 repositories:
[email protected]:gin-gonic/gin.git ...
[email protected]:labstack/echo.git ...
[email protected]:beego/beego.git ...
https://github.com/gin-gonic/gin (1/3)
https://github.com/labstack/echo (2/3)
https://github.com/beego/beego (3/3)
====================================================================================================
==> (3/3) success
All 3 repositories are successfully cloned
maxgoroutine: The number of goroutine should be set accordingly.
MIT