TFS Instructions

本文详细介绍了TeamFounderServer的三层级架构,并提供了新手入门指南,包括如何获取项目最新视图、使用撤销待提交变更、查看历史版本差异等操作。重点解释了版本控制系统之间的区别,以及如何进行代码合并、存放文件等最佳实践。

Recently I've been practising Team Founder Server, and at least on the surface, it seems very impressive. There is some great integration with Visual Studio, and lots of great tools for DBAs, testers, project managers, etc.

Here is some tips for rookies like me. Those who are familiar with this tool can ignore this post.

Architecture of TFS

As you see above, Team Founder Server works in a three-tier architecture: the client tier, the application tier and the data tier[1,2].

How to get the latest vision at the begining of one project.

a.connecting to the TFS
b.select the project and mapping the local folder
c."Get latest version"
Then you can get the project in your "Solution Explorer" and edit.
 
 
Undo Pending Changes
 Before you check In, you can undo your selected file.

View History & Compare & Annotate

Differences of Check Out/Check In between the other version controls.

VSS - check out means get the latest version of the file and lock the server version so that no-one else can edit it. 
CVS or SVN – check out means "get the latest version", but without locking the server version. 
TFS -  check out means "Tell the server I want to edit this file and mark that file as writeable in my file system".
 
All Check In Operation of the above three mean save my modification. 

Best practice of check in 

a. get latest version -- may happened if this file does not exist. (get all file or one project or whole solution)
b. modify file
c. compare
d. check source code that you have modified in with work item and comments

 Merge

Auto merge (Merges the additions automatically.)
Merge tool (Manually resolve the conflict.)

 Shelve 

Find Shelveset

References:

[1] Team Foundation Server Architecture

[2]Team Foundation Server

转载于:https://www.cnblogs.com/DebugLZQ/archive/2013/06/01/3101726.html

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值