जगदीश खोलिया: August 2013

Monday, August 19, 2013

Undo Changes (Remove lock) in another User's Workspace in TFS

To undo another user's lock

  1. Click Start, click All Programs, click Microsoft Visual Studio 2008/10, click Visual Studio Tools, and then click Visual Studio Command Prompt.
  2. Type the following command and replace the arguments with the appropriate parameter information for your needs:
    tf undo /workspace:OtherUser'sWorkspace;OtherUser $/TeamProject/File.cs /s:http://YourTFSServer:8080

    eg: tf undo /workspace:II-SW-DSK-009;CORP\Jagdish.Kholiya $/BimaExpress/BimaExpress_V1.0/BimaExpress/BimaExpress.Services/BimaExpress.Services.csproj /s:http://ii-srv-dev-03:8080/tfs