Git-flow 重新开放已完成的功能
我正在尝试使用 gitflow 和 成功的 Git 分支模型。
过了一段时间,我在开发功能并完成功能
git flow feature finish my-feature
时,在继续工作时,我意识到我忘记添加一些东西到 my-feature
或者有时我正在开发不同的功能并想要添加再次向 my-feature
发送一些内容...
该怎么做? 有没有办法再次重新打开my-feature
? 我是否会将更改提交到开发中? 或者开辟其他功能?
I am trying to work with gitflow and A Successful Git Branching Model.
Ones in a while I work on features and finish the feature with
git flow feature finish my-feature
While continuing to work I realize that I have something forget to add to my-feature
Or sometimes I am working on a different feature and want to add something to my-feature
again...
What would be the way to do this?
Is there a way to re-open my-feature
again?
Would I just commit the changes into development?
Or open up another feature?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用 git-flow 原则,我认为您应该
创建一个新功能分支并进行更改。然后将其合并回 dev。这是如果您要添加一个全新的功能。
使用修补程序分支方法。这是一个小的调整。
删除的功能分支不应在 git-flow 下恢复。
Using the git-flow principle, i think you should
Create a new feature branch and do the changes. Then merge it back to dev. This is if you are adding a whole new feature.
Use the hotfix branch method. This is if its a minor tweak.
A feature branch deleted should not be recovered under git-flow.