You merge branches to combine changes from one branch into another.
Before you begin
Share or revert any unshared changes on your current branch before you can start a
merge.
About this task
Before you begin the merge process, you can use merge requests to notify collaborators that a
branch is ready. To create a merge request, click the Start merge request
icon
next to
the branch name.
The merging process consists of the following steps:
- Select the branch that you want to merge into the current branch.
- Preview the changes that you are going to integrate into the current branch.
- Select the changes to apply to the current branch if there are merge conflicts. Merge conflicts
may arise when the two branches that you want to merge have competing changes.
- Share your changes with your collaborators to finalize the merge process.
Procedure
- Open the Branches tab from your decision automation
page.
- Click the Merge branch into icon
next to name of branch
you want to merge into the current branch.
- If there are no merge conflicts, review the changes between the two branches and click
Apply changes.
If there are merge conflicts, resolve them before
you apply the changes:
- Click the arrow next to the name of your decision service to see all conflicting
changes and complete the two following steps for each conflict.
- Click View details to review the differences.
- Close the differences viewer and click Select version to choose
the version that you want to keep.
Warning: Changes from the version that you do not select will be lost
- When all conflicts are resolved, click Apply
changes.
- The Share changes tab automatically opens. The merged changes are
loaded in your decision automation and ready for review.
Before you finalize the merge,
you can verify your changes:
- Go back to your decision service to run your models and confirm everything works as
expected.
- Make any necessary adjustments to your decision service.
- To return to the Share changes tab at any time, click View
changes in the top banner.
When you are ready, choose one of the following options:
| Option |
Steps |
| Finalize the merge |
Click Finalize merge in the Share changes tab.
Optionally, enter a comment to describe your changes, then click
Share. Your changes become available to your collaborators and the merge
operation is recorded in the View history tab.
|
| Revert the merge |
Click Cancel merge in the Share changes
tab. |