How do I resolve conflicting files in the Copia Desktop App?
How to resolve conflicting files
If you open a pull request and see the below message, you will need to resolve the conflict in the Desktop App by completing the following steps.
- Select Open in Desktop App
-
Navigate to the branch you are trying to merge into (Most often this is going to be the main branch)
-
In the top toolbar, select Branch > Merge into current branch
-
Choose the branch you are trying to merge into this branch. You should see that a conflict is indicated in the bottom of the window.
-
You can resolve the conflict by choosing which version of the file you would like to keep
- Alternatively, if the file is text-based, you can click "Open with default program" to open in a text editor and resolve the conflicts manually. The image below shows how git highlights the differences between the branches. You can select one entire line or the other, or you can manually combine them
- This is what the file would look like after I've resolved the conflict using the text editor
- Alternatively, if the file is text-based, you can click "Open with default program" to open in a text editor and resolve the conflicts manually. The image below shows how git highlights the differences between the branches. You can select one entire line or the other, or you can manually combine them
-
After making your selection, select Commit Merge
-
Push your changes
Elements of the UI may have changed since the time of posting. For the most up-to-date information, refer to our Documentation.