使用历史记录创建新的TFS分支 [英] Create new TFS branch with history

查看:98
本文介绍了使用历史记录创建新的TFS分支的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我需要进行分支,但是我还需要保留历史记录,以便删除一些变更集并构建一个新项目。我尝试在UI中进行分支,并创建了一个仅包含一个历史项的新分支,该分支表明该历史记录是从某某位置分支的。

I need to branch out, but I also need to keep the history so I can remove some change sets and build a new project. I tried branching in the UI and that created a new branch with only one history item indicating that this was branched from so and so.

推荐答案

<新创建的分支仍然包含嵌套在新变更集中的所有历史记录。您只能查看单个文件的历史记录,不能查看文件夹或分支的历史记录。

The newly created branch still contains all the history nested inside the new changeset. You can only view the history of the individual files, not with the folder or the branch.

您必须在新分支中的文件上单击查看历史记录,然后单击分支创建变更集上的 下拉箭头 ,就会显示旧的历史记录。

You must click "view history" on a file in the new branch then click the drop down arrow on the branch creation changeset and the old history will show up.

根据您的情况,您可以仅使用变更集进行分支,而不必使用最新版本。下面的详细步骤:

For your situation, you can just branch with changeset instead of with the latest version. Detailed steps below:

这篇关于使用历史记录创建新的TFS分支的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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