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

image

 

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

image

 

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 .

image

 

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

Advertisements

Leave a Reply

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

WordPress.com Logo

You are commenting using your WordPress.com 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 )

Google+ photo

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

Connecting to %s