Resolve merge conflicts

Resolve merge conflicts in GitHub — with the four heights of help laid out: do it now, make it easier for the next person to accept, work out the right move when you are stuck, and learn the pattern so it stops coming back.

4prompt heights
Open it in the interactive atlas →

The four heights

The same task, four distances: today's deadline, the next reviewer, the stuck moment, the pattern.

Execute — do the immediate task

+
The feature branch and main both have conflicting changes to the API client. Resolve the merge…
The feature branch and main both have conflicting changes to the API client. Resolve the merge conflicts, run the unit tests, and push the merged branch so CI can rerun. Start by confirming no behavior regression in the client and that the public method signatures are unchanged before pushing.

Improve — make it easier to accept

+
Before I merge this branch into main, make the conflict resolution obvious to a reviewer: show a…
Before I merge this branch into main, make the conflict resolution obvious to a reviewer: show a short summary at the top describing which file sections I changed and why, highlight any behavioral changes to the API client, and list the handful of tests I ran locally with their results.

Decide — diagnose the stuck moment

+
I pulled the feature branch and main; there are merge markers in src/client.js, src/auth.js, and…

I pulled the branch into local and now get merge markers in three files

I pulled the feature branch and main; there are merge markers in src/client.js, src/auth.js, and README.md. I am unsure whether to keep the client method renaming in client.js or the older name in main because both have downstream callers. I can run the test suite but the integration tests take 20 minutes. What is the likely safe choice and the best next step to be confident before pushing?

Become — change the pattern

+
We keep losing time resolving the same API surface conflicts between feature branches and main,…

Repeatedly spending hours reconciling the same conflicts around API changes

We keep losing time resolving the same API surface conflicts between feature branches and main, often with different people renaming methods or changing call signatures. Where should we change our habits: branch strategy, review checklist, or API ownership, so this happens less and reviewers trust merges? Recommend the single most impactful habit to adopt and one practical rule to enforce in PRs.

Next to this one

Other code hosting work people do in GitHub.

Every task here came from the work, not from a feature list — which is why the prompts name what you want done and never the button that does it. The tool changes; the work does not.
Copyright © LLOS.ai · 2026 — original pedagogy, voice, and design — all rights reserved.

The rest of the map

Same library, five ways in.