Understand and resolve complex Git merge conflicts
Help me resolve Git merge conflicts in my repository.
**Conflict markers in file:**
```
{{CONFLICT_FILE}}
```
**What my branch was trying to do:** {{MY_CHANGES}}
**What the other branch did:** {{OTHER_CHANGES}}
**File purpose:** {{FILE_PURPOSE}}
**Preferred outcome:** {{PREFERRED_OUTCOME}}
**Git log showing divergence:**
```
{{GIT_LOG}}
```
Please provide:
1. **Conflict Explanation**: Explain what caused this conflict
2. **Change Analysis**: Compare both sets of changes
3. **Resolution Strategy**: Best approach for this conflict type
4. **Merged Code**: Provide the properly merged result
5. **Intent Preservation**: Ensure both changes' intents are preserved
6. **Testing Advice**: How to verify the merge is correct
7. **Prevention Tips**: How to reduce future conflictsOr press ⌘C to copy
Replace these placeholders with your own content before using the prompt.
[{CONFLICT_FILE][{MY_CHANGES][{OTHER_CHANGES][{FILE_PURPOSE][{PREFERRED_OUTCOME][{GIT_LOG]