如何清除我本地版本的 TFS 服务器知识? [英] How to clear TFS server knowledge of my local version?

查看:22
本文介绍了如何清除我本地版本的 TFS 服务器知识?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们的构建人员在编译一些已签入我们的 TFS 实例的源代码时遇到问题.

Our build person was having issues compiling some source code that is checked into our TFS instance.

我正在处理一些我还没有准备好签入的更改,因此我手动备份了本地文件夹并删除了本地文件夹的内容.然后我做了一个获取最新的特定版本,覆盖"以确保我得到最新的.并确保它已编译(确实如此,问题是构建机器上的设置问题).

I was working on some changes that I was not ready to check in so I made a manual backup of my local folder and deleted the contents of my local folder. Then I did a "Get Latest - Specific Version , with overwrite" to ensure I got the latest. And made sure it compiled (it did, the issue was a setup issue on the build machine).

所以现在,如果我在本地手动重命名文件夹以返回到我的版本,我遇到的问题是 TFS 认为我拥有所有最新的源......但我没有.文件已被另一位开发人员更改,但由于我执行了获取最新的特定版本,并覆盖",因此它认为我的代码是完全最新的.

So now if I manually rename folders locally to go back to my version I have the problem that TFS thinks I have all the latest source ... which I don't. Files were changed by another developer but since I did a "Get Latest - Specific Version , with overwrite" it considers my code to be completely up to date.

问题:

  • 能否告诉 tfs 我的本地版本不是最新的?(我想我可能会用 TFS cmd line util 来做到这一点,但不确定是哪一个)

  • Can some how 'tell' tfs that my local versions are not that latest? (I'm thinking that I might to do this with a TFS cmd line util but not really sure which one)

我应该有什么不同的方式来做到这一点?

Was there a different way I should have done this?

谢谢.

推荐答案

您可以删除/移除本地工作区.

You could delete/remove your local workspace.

Source Control Explorer -> Workspace 下拉菜单 -> Workspaces -> Remove

Source Control Explorer -> Workspace dropdown -> Workspaces -> Remove

这篇关于如何清除我本地版本的 TFS 服务器知识?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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