简体   繁体   English

在tfs 2010 / tfs 2012中实施git flow工作流程吗?

[英]Implement git flow workflow with tfs 2010 / tfs 2012?

Currently we are using TFS 2010 and planning to migrate to TFS 2012. As part of our new project we would like adapt git flow workflow as our branching strategy. 当前,我们正在使用TFS 2010,并计划迁移到TFS2012。作为新项目的一部分,我们希望将git flow工作流用作我们的分支策略。

This requires cross branch merge, I could do that in tfs with baseless merge. 这需要跨分支合并,我可以在无基础合并的tfs中做到这一点。 Then i loose the track of what all changes or items are merged. 然后,我松开所有更改或项目合并的记录。

Is there any way in TFS 2010 / 2012 to do delta merges for cross branches? TFS 2010/2012中是否有任何方法可以为跨分支进行增量合并? just like push and pull in git? 就像推入git一样?

TFS has slightly different recommended branching patterns than Git due to limitations in TFS around what branch can merge with what. 由于TFS中关于哪些分支可以与什么合并的限制,因此TFS的推荐分支模式与Git略有不同。 All of the TFS best practices avoid baseless merges and you should too. 所有TFS最佳实践都避免了毫无根据的合并,您也应该这样做。

You can do something very similar to Gitflow in TFS, you just need to stick to the limitation of only merging a branch with direct parent or children. 您可以在TFS中执行与Gitflow非常相似的操作,只需要遵守仅将分支与直接父级或子级合并的限制。

The Ranger guidance goes into great detail about some recommended branching patterns in TFS: http://vsarbranchingguide.codeplex.com/ 《 Ranger指南》详细介绍了TFS中一些建议的分支模式: http : //vsarbranchingguide.codeplex.com/

Specifically the "Servicing and Release Isolation" + "Feature Isolation" branching patterns closely resembles gitflow. 具体来说,“服务和发布隔离” +“功能隔离”分支模式与gitflow非常相似。

分支模式

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM