How do i remove files from the Pending Changes list in TFS when those files have been deleted locally
as the question says...does anyone know how I can remove these files? I didn't commit the changes in TFS before I deleted t开发者_如何转开发hem locally and now they always appear in the Pending Changes window...I'd like to get rid of them
thanks
Right-click on the file in the Pending Changes List, choose Undo.
Solved
I recreated the deleted folder and files in TFS and checked them in. Then I deleted them and they were gone from the Pending changes window.
It's simpler than that. Just select the deleted file(s) and right click and select Check-in. Files will be "checked-in" and deleted.
Go to show all files. The deleted files will be shown. Delete them. Done.
When you have a large amount of files, and it's hard to tell which files have been deleted, and which haven't, it's best to backup the files and undo all changes. After this, you can re-add the files and VS will finally refresh the list.
精彩评论