# Merge Conflicts

Merge conflicts arise when two branches have changes that Git cannot automatically merge. This situation commonly occurs when:

* Two branches have changes in the same part of a file.
* One branch has changes, and the other branch deletes the same file.
* Both branches have changes, and Git can't determine which changes should take precedence.

### **Using Merge Conflicts in Paradime**

To use merge conflict, follow the step below:

#### **1. Open a Pull Request**

Click the git icon on the right panel to open the Git User Interface, and then commit and push your changes. \
\
Note: The visual tutorial below is for [GitLite](/app-help/documentation/code-ide/left-panel/git-lite.md) users, but the merge conflict feature works for[ Git Advanced](/app-help/concepts/working-with-git/git-advanced.md) users as well.&#x20;

{% @arcade/embed flowId="j9gbtzjCmzoeh7IN09ND" url="<https://app.arcade.software/share/j9gbtzjCmzoeh7IN09ND>" %}

#### **2. Resolve Merge Conflict(s)**

Paradime offers various options to resolve merge conflicts:

* **Abort Merge -** Cancel the entire merge process if conflicts are significant or challenging to resolve.
* **Accept Current Changes -** Accept and apply the changes made in your branch.
* **Accept Incoming Changes -** Accept and apply the incoming changes from the target branch.
* **Accept Both Changes -** Combine and apply both sets of changes – yours and the incoming changes from the target branch.
* **Compare Changes -** Visually compare the changes made in your branch with incoming changes from the target branch.

{% @arcade/embed flowId="MjA8Co7lz6yIcIdhTXE7" url="<https://app.arcade.software/share/MjA8Co7lz6yIcIdhTXE7>" %}

#### **3. Commit and Resolve**

Once you've decided how to resolve the merge conflict, proceed with your pull request by clicking the git icon in the right panel, "Commit and Resolve" and then "Open Pull Request".

{% @arcade/embed flowId="As7tOqpbdyqgbABNPMGm" url="<https://app.arcade.software/share/As7tOqpbdyqgbABNPMGm>" %}

‍


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.paradime.io/app-help/concepts/working-with-git/merge-conflicts.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
