ggp
is git grouping.
To group multiple Git repositories.
For the group, You can Git command is run.
The microservice is composed by many of the repository.
api
web
sp_app
proxy
queue
etc...
also api
component is composed by many of repository.
core
front
batch
cache
etc...
also core
component is ///
I want to manage by grouping the repository to compose the same function or component.
$ go get github.com/takecy/git-grouping/ggp
Download and Copy to your $PATH
.
Delete your ggp
binary.
And delete $HOME/.ggp
directory.
All usages
$ ggp
add Add repository to group
git Execute git commands to group of repository
info Show configuration.
ls List all group.
rm Remove repository form group
rmg Remove group
version Print version
Show detail help.
$ ggp help add
add <group name> <dir path>
Show all groups.
$ ggp ls
Show group info.
$ ggp info apis
Add current repository to group.
$ ggp add apis .
Add specific repository to group.
$ ggp add /git/your/cool-tools
Remove current repository from group
$ ggp rm apis .
Remove group.
$ ggp rmg apis
Execute command to gourped repositories.
$ ggp git --gg apis status
$ ggp git --gg apis fetch --all -p
Vendoring by godep.
$ git clone git@github.com:takecy/git-grouping.git
$ cd git-grouping
$ make install_tools
$ godep restore
$ DEBUG=* go run ggp/main.go