In TFS Source Control Explorer it shows pending changes(edit,[more]) with my name, But In
Pending Chages window does not showing any pending changes.
What I thought is, Months ago my Visual Studio was crashe(at that time some files are
checked out, which i was not aware of that , due to automatic checkout nature of TFS),
due to that I copied new VMImage, without undo the pending changes(which are showing
currently in Source Control Explorer). One of my team memberwants to chekin new version
of that particular file. Now I need to undo my pending chages.
I had the same problem, I re-started VS, opened the solution and all the changes are now being displayed in the pending changes window.
sometimes I can not lock a branch because users have things checked out, but when I ask them about it, the pending merges/changes, only folders come up with no objects to change. What's with that?
Another option is to permanently or temporarily give them permissions to overwrite your lock. Then he can check-in anyhow.
Get your changed files check out for edit
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.
I have just had a similar issue in VS2012.
To resolve the issue, I toggled the "Show xxx" dropdown to "Show Solution Changes" and then back to "Show All". The files that were missing from the list then re-appeared.