Resolve conflicts
Resolve conflicts in ServiceNow Studio when applying remote or stashed changes that conflict with the local version of the same application file.
Before you begin
Link an app to source control in ServiceNow Studio
At least one stashed change must be applied.
Role required: admin
Procedure
Navigate to All > App Engine > ServiceNow Studio.
In the file navigator, select the application you want to open.
Select App details to open the app in the canvas.
Pull from a repository or apply stashed changes.
If the system detects a conflict, the Resolve Conflicts modal appears and displays the conflicting files.
Select an option to resolve the conflict.
Option Description Select an action Apply or discard all stashed changes at once. Manually merge changes Select individual changes to apply or discard. To apply or discard all changes, select an Action.
Option Description Take stashed changes Applies the application file version from the stashed changes. Discard stashed changes Applies the application file version from the most recent pull from the repository. Select Apply Stashed Changes.
Select Close dialog.
To merge conflicting changes individually, select Manually Apply.
The ServiceNow AI Platform displays a list of the version differences by field.
Select the field values for the merged application file.
Select Save Merge.
Result
The conflict is resolved and the application file reflects the selected changes. Continue with normal pull and push operations to update the Git repository.
Parent Topic:Work with changes in Git