A long gone coworker has left a few objects checked out in TFS, now you discover that you need to clear the checkout in order to incorporate new changes. How can this be done?
Clearing out another user's check out is NOT supported from the GUI, however there is a command line option to accomplish this:
C:\Program Files (x86)\Microsoft Visual Studio 10.0\VC>TF undo /workspace:WorkstationName;UserName $/ProjectName/ObjectName.cs /s:http://YourTFSServer:8080
Once the command completes, refresh the Source Control Explorer to see the changes, you may also need to get the latest version of the project if multiple objects have been locked for a long period of time.
Hope this helps,
Will
No comments:
Post a Comment