Version control strategy with TFS

Suppose you work on a product and you want to release something. As an initial setup you could start with a folder were the source code existing.

At some point in time some of the basic requirements are implemented, the next step is testing your application. Let’s say you have some friends that will help on that. Meanwhile you get new requirements and you don’t what to mess up the existing code base, because you want to release the tested code.

At this point you could create a branch in TFS. 

1. Create Main source folder and convert it to branch



2. Create a new branch Dev from the Main branch. Right click the Main branch and select Branch under Branching and Merging



3. Create a new branch from Dev called Release Candidate. Here you will have the code that is tested and will be shipped to the public.

It’s handy to have a visual hint regarding of how the branches are split.  Go to Main and choose View Hierarchy under Branching and Merging .



This is a simple strategy that will help you build, test and release you application.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s