Managing subbranches
You can create subbranches, and then manage them by renaming or deleting them.
About this task
Branches facilitate work done on parallel releases of a project.
Initially, a project contains only a main line in which you work. From the main, sometimes referred to as the main branch, you can create one or more subbranches. From any new branch you can create other subbranches, as many as you need to manage your releases.
The way you manage branches depends on how many releases you need to manage at a given time:
If you only have one release in production at any given time, use the main line as the production branch. Then, to work in parallel on an upcoming release, create a branch for the new release. Changes to production continue in the main, from which you deploy, and changes for the upcoming release are made in the new branch. Periodically, you can merge the production changes into the upcoming release branch so that the upcoming release always has the most up-to-date rules. When you are ready for the upcoming release to go into production, merge the changes from the subbranch to the main, so the main continues to represent the production release. At this point, the branch receives no further edits and exists only for the historical record.
If you have multiple releases in production at a given time, you need multiple active subbranches, each representing a production release. The main represents work in progress on an upcoming release. You may also be working in parallel on multiple upcoming releases, so some subbranches will also represent upcoming releases. By the time any given release goes to production, it must have its own branch. Production changes are made in each of these subbranches, and merged into other branches as needed. As you retire releases from production, these branches receive no further edits and exist for the historical record.
When keeping a branch for the historical record, you should baseline the branch and have the Administrator remove permissions to edit it.
Procedure
To manage subbranches: