TFS 2015 - 如何确保每日正向和反向集成?

时间:2017-10-11 13:41:06

标签: tfs

我的开发团队正在使用TFS进行源代码管理。我目前的计划是为每个sprint创建一个新的共享分支,供开发人员用于完成所有任务。

确保开发人员每天为该分支执行正向和反向集成的最佳方法是什么?换句话说,我如何确保他们不断从sprint分支获取最新的代码集并检查他们的代码呢?

2 个答案:

答案 0 :(得分:1)

There is no such VS extension can force developers to get code from TFS and check in frequently and continuously.

If which you want is to "get the latest " and avoid TFS force you/colleagues to resolve conflicts before checking in.

However, TFS redefined what "Get Latest" does. In TFS terms, Get Latest means get the latest version of the files, but ignore the ones that the server thinks is already in your workspace. Moreover, doing a get latest is good practice, but not mandatory. There is no such settings.

There has been some similar questions in SO and got an amazing answer, below links for your reference:

As a workaround, if you really need this feature in your team, you could set up a reminder such as meeting reminder in outlook 4:00PM to remind your colleagues, they should merge their work in the branch at the end of day. Just couldn't force them to do this.

答案 1 :(得分:0)

这是一个人的问题,而不是工具问题。在提交代码或合并分支时,工具无法强制执行其行为。它只是工作流程规程的一部分,随着时间的推移而来。