Branches
Branches are editable copies of maps and their dependencies stored in a separate space.
Branches enable you to maintain multiple editable versions of content.Depending on your CCMS configuration, some operations may be restricted to Administrators and users with specific permissions.
When pushing content between branches, you typically work in the Branches tab you access from the Resource Drawer. The Branches tab enables you to:
- Create a branch from a map
- Merge content from one branch with content in another branch
- Replace content from one branch with content from another branch
When you have multiple branches set up, you use the Branch menu to switch to the branch you want to work on.
Apart from using the Branches tab to push content between branches, you can also do it directly in the Content Editor by using the Push Changes option from the topic toolbar. This option enables you to quickly push a topic to another branch.
By default, merging/replacing topics from the topic toolbar is disabled and the Push Changes button is unavailable. To enable this feature, contact a Customer Success Manager.
All branching operations are recorded as history entries in the History tab. A history entry is called a revision. You can view past revisions and restore a file a previous revision from the History tab.
Guidelines
Keep these guidelines in mind when working with branches:
- Before creating a branch, check the content for errors. You can do that by publishing your content and verifying how the output looks.
- Establish a branches naming convention. Once you create a branch, you cannot change its name.
- Designate a person, for example a team leader, who will be responsible for merging and replacing branches.
- The resources in branches count toward your content object limits.
Create a Branch
We recommend creating branches from maps.
Switch Branches
You can see the contents of different branches in the Content Library by switching between the branches.
Merge Branches
Heretto CCMS enables you to merge changes between branches and resolve conflicts.
Overwrite Branches
Heretto CCMS enables you to overwrite branches by replacing files in one branch with files from another branch.
Restore Previous File Revisions
Heretto CCMS stores the history of DITA and non-DITA resources. This means that you can revert maps, topics, media, and other files to their previous revisions (versions) at any time. You can do that in the History tab.
- In the Content Library, click a resource that was impacted by a branching operation and in the Resource Drawer on the right, select History.
- In the History tab, do the following:
- In the History section on the left, locate the branching operation revision that you want to restore.
- Select a Revision that occurred before the branching operation.
- Click Restore.
- If a dialog opens, click OK.
- In the Edit the commit details window, click Save.
Remove a Branch
To complete this procedure, you need to be an Administrator in Heretto CCMS.
- In the Main Menu in the top-left corner, click Branching.
- In the list, identify the branch that you want to delete and click the corresponding Remove button.
- In the dialog, type in DELETE and click DELETE.