How do I create a Team Project by branch from the code of another Team Project in TFS 2013?

Asked

Viewed 246 times

3

Until the 2012 version of TFS it was possible to create a new Team Project, starting the code repository by branch another Team Project, figure below, but this option is no longer available in TFS 2013. Is there any way?

New Team Project wizard

2 answers

4


Using the Team Foundation Power Tools, In addition to the option not to create a folder for source code attached to the Team Project, which was never available in Wizard, it gives you the option to create a Branch. See below for information about the command:

C:\Program Files (x86)\Microsoft Team Foundation Server 2013 Power Tools>tfpt createteamproject /?

Among the many options we have /sourcecontrol, and this parameter can create a new folder and give a name, or not create a folder, for a non-software project; or Branchpath...

/sourcecontrol Specifies source control options: 'New' to create a new source control
tree; 'None' to create a project without source control support; 
'Branch:branchpath' to branch from an existing path on the TFS server. 
For the Branch option: if the branchpath does not exist on the TFS server, 
a list of existing paths are printed.

Remembering that the path is the path in the TFVC.

-1

  • 1

    I can’t create a Team for a Team Project that doesn’t exist yet!

Browser other questions tagged

You are not signed in. Login or sign up in order to post.