文件夹转换为分支? [英] Folder converted to branch?

查看:118
本文介绍了文件夹转换为分支?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在TFS(我们正在使用2012)中,为什么默认值会将源文件夹转换为分支?

In TFS (We are using 2012) why is the default to convert your source folder to a branch?

我真的不不要将源视为分支。

I really don't consider the source a branch. What, if any, advantages/disadvantages does this have?

推荐答案

我不确定您所说的我不知道是什么意思? t将源视为分支,从定义上看,源文件夹一经创建就立即成为分支。目标文件夹也是一个分支,它是源分支的子级。

I'm not sure what you mean by "I don't consider the source a branch" the source folder by definition becomes a branch as soon as you create a branch from it. The target folder is also a branch which is a child of the source branch.

启用此功能没有缺点。无论是否启用此功能,源和目标都将具有分支关系,并且您将能够合并两个分支之间的更改。

There are no disadvantages to enabling this. Regardless of whether you have this enabled or not the Source and Target will have a branching relationship and you will be able to merge changes between the 2 branches.

如果启用了此框,并且能够在源和目标之间进行合并,那么您还可以使用Visual Studio中的分支可视化工具。当您想了解代码如何在分支和合并关系之间流动时,这些工具很有用。

If you have this box enabled, as well as being able to merge between source and target you will also be able to use the branch visualisation tools in Visual Studio. These tools are usefull when you want to understand how your code will flow between branches and the merge relationships.

这篇关于文件夹转换为分支?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆