Using Smart Merge
Written for the Old UI
This article was written for the old UI. The instructions are still usable, but the screenshots are outdated. In some cases, items referenced in the instructions have moved or changed. If you cannot find an item, see the Where Did It Go article.
Overview
In DevOps, Smart Merge lets you quickly merge changes from a Source branch into a Target branch. This article walks you through how to perform a Smart Merge step by step. These instructions don’t cover Smart Merges with conflicting changes; to learn how to resolve conflicts, see the following article.
Smart Merge vs Pull Request
Smart Merge and Pull Request both merge changes from a source branch into a target branch, but each suits a different workflow.
Smart Merge is a streamlined, single-step process that merges changes directly between branches without requiring a Pull Request or team approval. It works well for time-sensitive situations, such as urgent fixes or critical changes that need to ship quickly.
A Pull Request, by contrast, is a structured, multi-step process built for team collaboration. It lets multiple reviewers inspect the changes, request revisions, and formally approve them before merging.
As a general rule, use a Pull Request when changes need oversight or sign-off from other team members, and choose Smart Merge when you need to integrate changes quickly.
To learn more about Pull Requests, see the following article.
Run Smart Merge
Resolve Conflicts
After you select the target branch, Smart Merge compares the two branches to identify changes it cannot merge automatically. When the check finishes, you will be notified whether the branch can be merged or whether you must resolve conflicts first. If there are no conflicts, skip this step and continue to Review Changes.

To resolve Smart Merge conflicts, you can Retain Target Changes or Overwrite Target Changes for each change to achieve the desired outcome. The following article explains the process in detail.
Review Changes
Once any conflicts are resolved, you must review the changes to each component with the Component Diff Viewer. All components with changes are listed in the Components with Changes list on the left. Clicking a component opens it in the Diff Viewer so you can review the changes.

To review a component's changes, select it from the Components with Changes list on the left.
All components should be reviewed.
When reviewing a component, the source code for Target and Source is displayed side by side, with differences highlighted.
Red: Lines to be removed.
Green: Lines to be added.

Repeat the review process for each component.
Last updated
Was this helpful?




