Experience vsts source code management

Source: Internet
Author: User

1. Open vs2005
2. Open View team explorer, or use View --> Team Explorer
3. Connect to the server as follows:
Tool --> connect to team Foundation server ...,
If the user does not log on to the TFS server at this time, the system will prompt you to enter the login name and password. The login user must belong to the [server] Team Foundation Valid users group, this allows the TFS server administrator to log on to the server and configure it as follows:
Open vs2005, team --> Team Foundation server settings --> group membership. The TFs Server user group is displayed. Open the "Team Foundation Valid users" attribute and click the "members" tab, this member group generally has the following groups:
[Server] \ service accounts
[Server] \ team Foundation administrators: entire TFs Management Group
[Team Project name] \ build services project component Service Group
[Team Project name] \ contributors: this is probably the Group required by the developer. You have read and write permissions.
[Team Project name] \ Project administrators Project Management Group
[Team Project name] \ readers project view group

Select the "contributors" group or "Project administrators" group to open its properties. On the "members" tab, select "Windows user" in "Add User and groups ", click "add" to add the domain user. OK.

In the displayed window, select the Server list to be connected. If no server list exists, click "servers" to display the Server LIST, click "add", and enter the server name or IP address, default port and Protocol (default port is 8080 and protocol is HTTP)
How to delete a server list:
If you want to delete a server, you must first disconnect the server. In team explorer, select the server, right-click, and select "Disconnect". After the server is disconnected, go to the Add Server LIST and delete the server.
4. After connecting to the server, select the project to be connected
5. Open the solution, select a project or solution, and add it to source code management. The specific operations are as follows:
1. Right-click solution or project
2. Select "add selected project to source control ..."
3. A warning message may pop up, but it doesn't matter. Continue ..,
4. Select the team project under which the source code is to be put, and click OK. Now the source code is added to the Team Project...
6. when you try to modify a file that is not checked out, source control automatically checks out the file [Note: I am not sure how source control checks out the file]. If you check out the file yourself, then, the source control will prompt you to check out the methods, including:
1. None-Allow shared checkout
Share check-out: allow others to check out and modify
2. Check out-prevent other user from checking out and check in
Exclusive check-out prevents other users from checking in and checking out
3. Check in-allow other users to check out but prevent them from checking in
Allow other users to check out, but avoid checking in
7. You can check in after modifying the file.

The above operations are effective without defining source code management rules

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.