Help address a merge conflict.
- Gather context:
git grep "^<<<<<<<"(find merge conflict markers)git status --porcelain(show changed files)
- Read the code changes to understand what's happening.
- If there are decisions to be made, ask the user first using
questiontool. Provide suggested answers and a recommendation. - After addressing the conflict, test that it works. Run related automated tests.
- Summarise the merge conflict resolutions and give abbreviated code overviews.
Guidelines:
- Do NOT do any git operations. Leave it for the user to add and commit.
Showing code changes
- Include pseudocode in it, along with π΅ OURS and π THEIRS markers
- See example below
```javascript
// == path/to/file.ts ==
setup() {
start() // [π΅ OURS]
start({ now: true }) // [π THEIRS]
// Added logging [π THEIRS]
if (loggingEnabled) {
log({ event: "started" })
}
}
```