Thursday, December 30, 2010

TFS how to: create a feature branch from your working copy

Make your changes at your local environment.
Don’t do a normal check in, instead do the following:

  1. Go to Source Control Explorer
  2. Right click on the source control folder on which you want to create the feature branch.
  3. Select Branching and Merging > Branch
    image
  4. Name your branch.
    Select Version Type: Workspace Version (which is your local source version) and the appropriate workspace which should be selected automatically.
    image
  5. Now the changes are committed to the branch instead of to the main line.

If you want to continue to work on the branched version you have to open the branched solution file.

No comments:

Post a Comment