TFS Instructions

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

TFS Instructions_第1张图片
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"
TFS Instructions_第2张图片
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.
TFS Instructions_第3张图片

View History & Compare & Annotate

TFS Instructions_第4张图片

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
TFS Instructions_第5张图片

 Merge

Auto merge (Merges the additions automatically.)
Merge tool (Manually resolve the conflict.)
TFS Instructions_第6张图片
TFS Instructions_第7张图片
TFS Instructions_第8张图片

TFS Instructions_第9张图片

 Shelve 

TFS Instructions_第10张图片

Find Shelveset

TFS Instructions_第11张图片

References:

[1] Team Foundation Server Architecture

[2]Team Foundation Server

你可能感兴趣的:(struct)