Merging Branches
When you merge branches, you combine a target branch with changes from a forked source branch, often called a feature branch. The target branch reflects these changes, and the source branch remains unmodified. You can merge branches within the API Designer interface.
Merge A Branch
-
In the Design Center Projects list, click a project name to open the text editor. The Merge button appears next to the branch selector component button (if branches have already been created).
-
Click Merge.
-
In the Merge branch dialog, select the target branch in the dropdown list of branches.
-
Expand Advanced Settings.
-
Select Squash commits.
Squashing commits compacts the source branch’s commits into a single commit for merging and keeps the target branch’s commit history clean and concise.
-
To automatically delete the source branch after merging, select Delete branch.
-
Click Merge.
After merging, the merge target branch becomes the current branch.