源代码管理资源管理器显示挂起的更改,但在挂起的更改窗口中不显示 [英] Source Control Explorer Shows Pending Changes, But In Pending Changes Window does not show

查看:87
本文介绍了源代码管理资源管理器显示挂起的更改,但在挂起的更改窗口中不显示的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在 TFS 源代码管理资源管理器中,它显示带有我名字的待处理更改(编辑,[更多]),但待处理更改窗口未显示任何待处理更改.

In TFS Source Control Explorer it shows pending changes (edit,[more]) with my name, but the Pending Changes window does not show any pending changes.

我的想法是,几个月前我的 Visual Studio 崩溃了,当时一些文件被检出(由于 TFS 的自动检出特性,我不知道这一点).因此,我复制了一个新的 VMImage,而没有撤消挂起的更改(当前显示在源代码管理资源管理器中).

What I thought is, months ago my Visual Studio crashed, and at that time some files were checked out (which I was not aware of, due to the automatic checkout nature of TFS). Due to that, I copied a new VMImage, without undoing the pending changes (which are currently showing in Source Control Explorer).

我的一名团队成员想要签入该特定文件的新版本.现在,我需要撤消待处理的更改.

One of my team members wants to checkin a new version of that particular file. Now, I need to undo my pending changes.

推荐答案

听起来您已将它们检出到不同的工作区.尝试转到查看"->其他 Windows"->源代码管理器",然后打开屏幕顶部附近的工作区"下拉菜单,然后选择工作区..."

It sounds like you have them checked out under a different workspace. Try going to View->Other Windows->Source Control Explorer, then open the Workspace dropdown near the top of the screen, and select "Workspaces..."

我建议删除显示的任何额外工作区.

I would suggest simply deleting any extra workspaces shown.

这篇关于源代码管理资源管理器显示挂起的更改,但在挂起的更改窗口中不显示的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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