Skip to content

Code-Hex/gpl

Repository files navigation

gpl - Update multiple local repositories with parallel

Build Status Go Report Card MIT License

Description

gpl will update your selected multiple local repositories with parallel. Support git, git-svn, svn, mercurial, darcs.
It was developed on the assumption that mainly to rely on other commands. Got the idea from things that I wanted to update with parallel when I used ghq(1) every time. But ghq(1) is great tool. So I'm expected that ghq(1) would support repository update with parallel in the future.

Usage

gpl -h # help
gpl -v # version
gpl /user/local/project/repo1 /user/local/project/repo2 ...

If you have created such as this file

cat list.txt
/user/local/project/repo1
/user/local/project/repo2

You can do this

cat list.txt | gpl -s

The most recommended is this combination with ghq and peco

ghq list -p | peco | gpl -s

Installation

go get -u github.com/Code-Hex/gpl/cmd/gpl

Binary

You can download binaries from here

Author

codehex