How to create a Branch from TFS project (from a labelled version)

Muthukumar Palaniappan picture Muthukumar Palaniappan · Nov 11, 2013 · Viewed 33.6k times · Source

How can I create a branch from a TFS project based on a specific label?

I need to create branch from a TFS project that too only from a labelled version. I could see in the new project creation wizard that I can choose the project as a branch to an existing one. However I could only do that for the latest version of main branch.

There is no option provided to branch from a label.

Answer

jessehouwing picture jessehouwing · Nov 11, 2013

Just create an empty new team project in the same Project Collection. Then you can use the standard Branch feature in Visual Studio to branch over the exact labeled version you want.

The Create Project wizard doesn't have this feature, but the end result is exactly what you want. You can enter the target branch name as $/Other-Project/TargetFolder

Branch from label after project creation