Skip to content

takecy/git-grouping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ggp

ggp is git grouping.
To group multiple Git repositories.
For the group, You can Git command is run.

Build Status Go Report Card GoDoc


Motivation

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.


Install

via Go

$ go get github.com/takecy/git-grouping/ggp

via Binary

Download and Copy to your $PATH.

UnInstall

Delete your ggp binary.
And delete $HOME/.ggp directory.


Usage

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>

Example

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

Development

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

License

MIT

About

to group multiple git repositories, and execute command to group

Resources

License

Stars

Watchers

Forks

Packages

No packages published