TFS > 分支:将源文件夹转换为分支
TFS > Branching: Converting Source Folder To Branch
TFS:将源文件夹转换为分支的后果是什么?
我想从我们拥有源代码的文件夹创建一个分支,我在 VisualStudio 的 "Branch" 对话框中看到以下选项:
"Immediately convert source folder to branch (enables visualizations)"
我是否丢失了任何信息(例如文件历史记录等)。
这样做有什么缺点吗?
感谢并感谢您的帮助。
Lerner.For.Ever
Team Foundation Server 2010 的发布开始了分支和文件夹之间的区别。下图显示了源代码管理资源管理器中的顶级文件夹结构:
As the illustration shows, you can still use folders to organize
branches within a team project's version control hierarchy. However,
folders and branches have a different appearance and different
capabilities. When you right-click a folder or branch and click
Properties, you display different information and different
functionality.
When you perform branch operations, branches have important
advantages over folders. Branches support version control features
that provide extra visibility into your branch structure and into
where your changesets have merged. (For more information, see these
wonderful links: Visual Studio TFS Branching Guide)
尽管您仍然可以在文件夹之间进行分支和合并,您团队的最佳做法是仅在分支之间进行分支和合并。
以上都是关于TFS和VS的区别,关于Trunk和main的一些东西,你可以看看Jesse Chisholm在[=12=中的回答]
TFS:将源文件夹转换为分支的后果是什么?
我想从我们拥有源代码的文件夹创建一个分支,我在 VisualStudio 的 "Branch" 对话框中看到以下选项:
"Immediately convert source folder to branch (enables visualizations)"
我是否丢失了任何信息(例如文件历史记录等)。
这样做有什么缺点吗?
感谢并感谢您的帮助。
Lerner.For.Ever
Team Foundation Server 2010 的发布开始了分支和文件夹之间的区别。下图显示了源代码管理资源管理器中的顶级文件夹结构:
As the illustration shows, you can still use folders to organize branches within a team project's version control hierarchy. However, folders and branches have a different appearance and different capabilities. When you right-click a folder or branch and click Properties, you display different information and different functionality.
When you perform branch operations, branches have important advantages over folders. Branches support version control features that provide extra visibility into your branch structure and into where your changesets have merged. (For more information, see these wonderful links: Visual Studio TFS Branching Guide)
尽管您仍然可以在文件夹之间进行分支和合并,您团队的最佳做法是仅在分支之间进行分支和合并。
以上都是关于TFS和VS的区别,关于Trunk和main的一些东西,你可以看看Jesse Chisholm在[=12=中的回答]