i have a Team project like this:
DefaultCollection
-Project 1
-Project 2
-Project 3
-Somefile.txt
-Somefile2.doc
All files and projects are in the root of the Team Project. I don't have "trunk" and "branches" folder. How can i create a new branch for the entire project?
Right-click on the FAST Search folder and select Branching and Merging -> Branch from the context menu. Once you clicked on Branch it will open a prompt window and set the Target location and leave the defaults.
The development isolation TFS branching strategy involves one or more development branches. These are kept separate from the main. Each development branch is a complete copy of the main branch. Development branches are built and tested, then code is promoted to the main branch.
Create a folder for the branch in the Source Control Explorer. Check in the pending change. This is important as you can't convert the folder to a branch until the folder has been checked in. Right click on the folder in the Source Control Explorer and select Branching and Merging > Convert to Branch....
Merging allows you to copy code from one branch to another, or to synchronize changes between two branches. You can only merge branches if you use TFS as your version control system.
I find that creating a new folder inside the team project and moving everything inside is an easier solution, you can then convert that new folder into a branch (which will be your main branch) and create new branches as required.
Steps are:
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With