TFS Create Main and Development branch from existing team project

三世轮回 提交于 2019-12-12 16:11:32

问题


Currently we have a team project in TFS 2010 named MyApp that was put in years ago. I would like to create MAIN and DEV branches as described in the ALM Rangers guide. I know it would've been easier if the existing team project was created with the branches initially, but that's in the past. I don't want to lose the version history in the existing project.

Is it possible to create those branches (or at least a DEV branch) without affecting the existing project?

UPDATE My folder structure looks something like this (bold is folder, italic is file):

  • server\DefaultCollection
    • MyApp
      • Lib
      • packages
      • Repositories
      • MVCClient
      • MyApp.sln

回答1:


There's not a great solution to this, but here's one option:

Create a MAIN folder. Copy all your source under this folder. Convert MAIN to a branch. Branch DEV from MAIN.

Keep your old source code around (the stuff not under the MAIN folder) for history purposes.



来源:https://stackoverflow.com/questions/26896819/tfs-create-main-and-development-branch-from-existing-team-project

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!