Jul 2, 2011

Best Practices for Using TFS 2010 Version Control

Best Practices for Using TFS 2010 Version Control
Once you edit a file it gets checked out automatically
If Team is not able to handle Merging of files in case of Multiple Checkout, TFS Administrator can disable Multiple checkouts using below mentioned simple steps :
Go to TFS Server > Open VS 2010 Environment > Select Team Project in Team Explorer > Right Click > Select Team Project Settings > Select Source Control
It will open a Pop-up Source Control Settings. Go to Check-out Settings tab and uncheck check-box Enable Multiple Check-out.
Once this is done you will get a alert while editing any file or checking-out any file if it is checked-out by any other person.
Ø Get Latest Version every time before start working on a file otherwise if you edited any file and then try to Get Latest Version it will try to Merge the server copy with your Changes at your Workspace. You can also come across some Conflicts if you had not taken Latest Version of that file before starting your work
Ø If you want to Get Latest of a file while you checkout or while editing working file, Follow these simple steps :

Go to TFS Server > Open VS 2010 Environment > Select Team Project in Team Explorer > Right Click > Select Team Project Settings > Select Source Control

It will open a Pop-up Source Control Settings. Go to Check-out Settings tab and check check-box Enable Get Latest on Check-out.
Once this is done if you edit any file it will Get Latest Version of that file in your Development Environment and check-out that file automatically.

No comments:

Post a Comment

Search for