TFS does not sync between local and remote - how to “re-sync”?

I have a CodePlex project that uses TFS, and I'm using the TFS plugin for Visual Studio. Now I copied this project and worked on another PC without TFS and did some refactoring. Stupidly, I just used copy / paste and manual text editing to merge my changes, expecting TFS to just pick up the changes.

Obviously, this is not so. Here is a screenshot of my local directory: My local TFS http://img259.imageshack.us/img259/2897/tfslocal.jpg

Please note that in some files there is no lock symbol - they are missing. If you look at the current TFS Tree on Codeplex , there are some files that no longer exist locally, i.e. WikiPlexExtensions.cs in the main folder.

Is there a way to easily tell TFS to compare my local to the remote repository and pick up the changes? I could re-add local files using “Exclude from local project” and re-add them, and I could create “deleted” files as empty files to delete them, but if I can avoid manually messing around with this, it’s good to also :)

+6
source share
4 answers

, TFS Power Tool. , "". . , , " ", .

+2

, . , , , , " ..." , , .. , , . , , , .

0

TFS ( Visual Studio) "", . Microsoft .

BTW: This command may not have existed during the initial question, but this question came first when I searched.

0
source

All Articles