GGSM
Gitsubmodule workflow
Installation
Install it yourself as:
$ gem install ggsm
Usage
Commands:
ggsm [help] [COMMAND] # 帮助
ggsm sync # 同步(拉取)远程代码
ggsm start <branch> [<commit>] [<origin>] # 检出新分支,新功能、修bug务必使用该命令
ggsm switch <branch> # 切换分支
ggsm merge [<branch>] # Merge,开发完成后执行
ggsm finish # Merge后并解决冲突后执行
ggsm delete <branch> [-r|--remote] [-a|--all] # 删除指定分支
ggsm foreach [<commands>...] # 所有模块执行git命令(foreach后跟git命令)
Contributing
Bug reports and pull requests are welcome on GitHub https://github.com/YoKeyword/ggsm. This project is intended to be a safe, welcoming space for collaboration.
License
The gem is available as open source under the terms of the MIT License.