Source Control Explorer Shows Pending Changes, But In Pending Changes Window does not show

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.

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.

Best Answer

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.