简体   繁体   中英

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

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.

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

项目创建后从标签分支

After talking with an MS rep I have discovered that this is a straight up BUG! You cannot create a branch using VS2013 and TFS2012. You will either need to have VS2012 or Team Explorer 2012 to do this on your machine. This is absolutely ridiculous. Nice job MS.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM