如何在Visual Studio 2010/2013中回归TFS [英] How to Roll back in TFS in visual studio 2010 /2013

查看:79
本文介绍了如何在Visual Studio 2010/2013中回归TFS的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述





我已经完成了TFS中多个文件的2 - 3签入。



现在我想回到2步。



我想知道如何在Visual Studio 2010/2013中做。





谢谢

Asutosha Sarangi

解决方案

请按照以下步骤操作。 (假设您对TFS非常熟悉,否则您会发现这些步骤已经过时)。



您只需查看您更改的任何一个文件的历史记录即可。

右键单击该文件的最新版本进行回滚,然后单击以查看更改集详细信息。



记下变更集编号。



现在在TFS资源管​​理器中,只需右键单击父文件夹,然后单击获取特定版本。



这个将带有一个带有版本部分的对话框,其中显示Combobox以选择您要采用的版本。从下拉列表中选择ChangeSet,并通过从已记录的更改集编号减少1来输入更改集编号。



这将为您提供所需的回滚代码。



PS。确保在检查后没有其他人签入相同的文件,否则你必须对你的更改集中的单个文件进行所有这些练习。



希望这会有所帮助。

Hi,

I have done 2 - 3 check in of multiple files in TFS .

Now I want to Roll back to 2 step back.

I would like to know how can I do in Visual studio 2010/2013.


Thanks
Asutosha Sarangi

解决方案

Please follow below steps. (assuming you are much familiar with TFS, else you will find these steps weired).

You can simply view the history of any one file you changed.
right click on that file's recent version to be rolled back and click to see the Change Set details.

Note down the changeset number.

Now in TFS Explorer, just right click on parent folder and click Get Specific Version.

This will bring one dialog with Version section, which displays Combobox to select which version you want to take. select ChangeSet from drop down and enter the change set number by reducing 1 from noted change set number.

this will get you required rolled back code.

PS. Make sure after you check ins nobody else checked in the same files, else you have to do all this exercise for individual files in your change sets.

Hope this helps.


这篇关于如何在Visual Studio 2010/2013中回归TFS的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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