今天就来讲说咱们的版本管理工具git,怎么实现简便,自动化流程开发git
UseGitPluginDemo
使用IntelliJ IDE 新建立一个名称为 UseGitPluginDemo
项目github
git init
复制代码
这里能够我须要添加多个远程仓库地址,github,giee,算是一种备份吧bash
git remote add github https://github.com/903600017/XXXXX
git remote add giee https://github.com/903600017/XXXXX
复制代码
git add .
复制代码
这里写备注太麻烦啦,好在这里只有几个字,想一想若是这里写的是上传app到应用商店时所填写的更新内容是否是要疯掉?app
git commit -m "初始化项目"
复制代码
git push github master
git push gitee master
复制代码
这里写备注,tag名称是否是太麻烦啦,有没有同感工具
git tag -a v1.0.0 -m '初始化项目'
复制代码
这里写备注,tag名称是否是太麻烦啦,有没有同感gradle
git push github v1.0.0
git push gitee v1.0.0
复制代码
这是一个完整的git操做流程spa
使用“gitCommand”插件后插件
UseGitPluginDemo
使用IntelliJ IDE 新建立一个名称为 UseGitPluginDemo
项目3d
git init
复制代码
这里能够我须要添加多个远程仓库地址,github,giee,算是一种备份吧日志
git remote add github https://github.com/903600017/XXXXX
git remote add giee https://github.com/903600017/XXXXX
复制代码
./gradle gitPushDleTag${repositoryName}
./gradle gitPushDleTagGitHub
./gradle gitPushDleTagGitee
复制代码
完了,已经完成了过去式流程中7个步骤才能完成的任务,惊不惊喜
另附 “gitCommand”插操做后,提交的log日志,tag 日志
整洁,美观,明了