Git

基于Github的一次git flow实验

2018-06-28  本文已影响24人  趁你还年轻233

一、创建并克隆 repo

https://github.com/FrankKai/git-flow-demo.git

二、安装 webstorm git flow 插件

插件名:Git Flow Integration


1.插件安装失败?https://www.jetbrains.com/ 搜索栏 关键字 搜索。
2.找到目标插件并下载:http://plugins.jetbrains.com/plugin/7315-git-flow-integration
3.本地安装并重启webstorm

三、git flow初始化 repo

1.右下角init repo

2.初始化配置

3.git flow actions

Feature

有一个发现:
- Publish之后,会在remote仓库生成一个新的分支

有几个问题:
- Publish之后,Finish失败。
- 单独删除/remotes/origin/feature/foo失败。

老哥建议:
- Publish不常用
- 可以使用删除远程仓库分支的git命令`git push origin --delete feature/bar`(非默认分支)

类似于pull一个远程分支。

Release

发现:

Hotfix

四、总结

That's it !

上一篇 下一篇

猜你喜欢

热点阅读