Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>There are at least 2 different ways to do this:</p> <p><strong>Command Line</strong></p> <p>There is a command-line utility called Tf.exe that comes with Team Explorer. Find the documentation <a href="http://msdn.microsoft.com/en-us/library/c72skhw4.aspx" rel="noreferrer">here</a>. It can be accessed by launching a Visual Studio Command Prompt window. The syntax of the command is:</p> <pre><code>tf undo [/workspace:workspacename[;workspaceowner]] [/server:servername] [/recursive] itemspec [/noprompt] </code></pre> <p>For one file</p> <pre><code>tf undo /workspace:workspacename;workspaceowner $/projectname/filename.cs </code></pre> <p><strong>GUI</strong></p> <p>The second is via the GUI, but does not come standard - you have to install the <a href="http://visualstudiogallery.msdn.microsoft.com/f017b10c-02b4-4d6d-9845-58a06545627f" rel="noreferrer">TFS Power Tools</a>. See <a href="https://stackoverflow.com/questions/1690351/how-to-undo-another-users-checkout-in-tfs-via-the-gui">here for details</a> on how to use this method. </p> <p>Keep in mind that with either method you will need the appropriate rights. The permissions are called "Undo other users' changes" and "Unlock other users' changes". These permissions can be viewed by:</p> <ol> <li>Right-clicking the desired project, folder, or file in Source Control Explorer</li> <li>Select Properties</li> <li>Select the Security tab</li> <li>Select the appropriate user or group in the Users and Groups section at the top</li> <li>View the "Permissions for [user/group]:" section at the bottom</li> </ol> <p><strong>Deleting the workspace</strong></p> <pre><code>tf workspace /delete WorkspaceName;User /server:http://server:8080/tfs/MyTeamCollection </code></pre>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload