Updated on 2025-03-27 GMT+08:00
How Do I Resolve Local Code File Conflicts?
Symptom
On the details page of an MR, the message Unresolved is displayed.
Analysis
The same file is modified by two users and a conflict is reported when an MR is merged.
Solution
- Update the code and switch to the source branch of this MR.
git fetch origin git checkout -b feature_010 origin/feature_010
- Merge the target branch into the source branch.
git merge origin/master
- Manually resolve conflicts locally as prompted.
- Commit code to the remote repository after conflicts are resolved.
git add . git commit -m'Commit information' git push origin feature_010
- Refresh the page and continue to review the MR.
Parent topic: Merge Request
What is your overall rating for this page?
0
1
2
3
4
5
6
7
8
9
10
Very dissatisfiedVery satisfied
Thank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.