在 TFS 中回滚单个文件 [英] Rollback a single file in TFS

查看:38
本文介绍了在 TFS 中回滚单个文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

如果我在源代码管理中查看单个文件的历史记录,我可以右键单击列表中的更改集并选择回滚整个更改集".

If I view the history of a single file in source control I can right hand click a change-set in the list and choose "rollback back entire change-set".

这会回滚我在该签入期间签入的所有其他文件还是仅回滚我当前正在查看的文件?如果它确实回滚了所有文件,有没有办法只回滚选定的文件?

Will this rollback all the other files I checked in during that checkin or just the file I am currently viewing? If it does rollback all files is there a way to rollback just the file selected?

谢谢

推荐答案

如前所述,回滚变更集会将其全部回滚.

As previously mentioned, rolling back the changeset rolls it back in its entirety.

安装 Team Foundation Power Tools(我认为几乎每个人都应该安装)为您提供了另一种选择:如果您想回滚单个文件,您可以右键单击源代码管理中的单个文件浏览器并选择回滚...

Installing Team Foundation Power Tools (which I think pretty much everyone should install) gives you another option: If you want to rollback a single file, you can right click a single file in the Source Control Explorer and select Rollback...

这篇关于在 TFS 中回滚单个文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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