TFS-server forcibly signs in to the user's exclusive Checkout!

Source: Internet
Author: User

Background: During the use of TFS, a file is found to beUseraThe user exclusive check-out, the administrator needsTfsserverUndo the userUsera.

Applicable: Unable to contactUsera, Or the usera workspace does not exist. Basically, this common problem can be solved on the server!

This section can be ignored: however, TFS is really difficult to use. It will be developed in large, medium, and small scales in the future (generally, parallel development with less than 50 persons, or the complexity of the project design module is small. In short, as long as it is not a non-use TFs giant project .. Hehe) Never use TFs .. Both VSS and SVN are easier to use than this big, heavy-weight tool. We can use this folk workshop and as long as they can be used and used easily. It's boring to do something too complicated! Let's get down to the truth...

Procedure:

1. You canTfsserverAfter logging on to the terminal as an administratorSource codeOn the management interface, first, perform the "check out" Class operation for the checked-out source code items. Take a look at the prompts in the "View" --> "output" window, to determine the workspace, checked-out user, and path to which the check-out item belongs ".


2.TfsserverTerminal, go to cmd, open the command line window, and then enter the directory:

C: \ Program Files \ Microsoft Visual Studio 8 \ common7 \ ide

Here, tf.exe is used for TFs command line operations.

Input: TF workspaces/owner:Usera/Server:Servername/Computer :*

This command is used to view the operation status of usera users recorded on the server.

Note: servername: You can use ipconfig/all to check the name of your server.

The output is as follows: the specific information can be determined based on the actual situation.


3. For the above output, you can use the following commandUseraThe user's current workspace is clearly processed, and the check-out in the workspace naturally disappears...

Input: TF workspace/deleteWorkspace name;Usera/S: http ://Serverip8080

Operation and Output


4. OK

Note: The above methods have good effects and are easy to operate, but their sequelae cannot be clearly understood. If you refer to this method for various problems and intractable diseases, the consequences will be borne by you!

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.