首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >为什么没有“`git hotfix取”?

为什么没有“`git hotfix取”?
EN

Stack Overflow用户
提问于 2017-12-11 10:49:30
回答 1查看 48关注 0票数 1

与地理上分散的开发团队一起工作时,同事会准备一个git flow hotfix并发布它供评审(或者因为他没有finish的授权)。

当我git pull回购时,我无法以正确的方式获取修补程序:分支在本地回购中,但它没有被标记为修补程序。

我怎样才能正确地执行这个工作流?

里卡多:

代码语言:javascript
复制
$ git pull
$ git flow hotfix start myhotfix
...
$ git commit -m "Fixed!" -a
$ git flow hotfix publish

卢卡:

代码语言:javascript
复制
$ git pull
$ git flow hotfix
No hotfix branches exist.
EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2017-12-11 11:06:31

工作流程是:

里卡多:

代码语言:javascript
复制
$ git pull
$ git flow hotfix start myhotfix
...
$ git commit -m "Fixed!" -a
$ git flow hotfix publish

卢卡:

代码语言:javascript
复制
$ git pull
$ git flow hotfix
No hotfix branches exist.
$ git checkout hotfix/myhotfix
$ git flow hotfix
* myhotfix
$ git flow hotfix finish
票数 2
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47751244

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档