Rebase a branch onto main

Rebase a branch onto main in Git — 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

+
Rebase my branch feature/payment-refactor onto main so the history is linear before the release…
Rebase my branch feature/payment-refactor onto main so the history is linear before the release branch cut on Wednesday. Resolve conflicts, keep my local commits intact, run unit tests, and push the rebased branch to origin with force-with-lease. Tell Diego in frontend when it’s ready for his smoke test.

Improve — make it easier to accept

+
Before I rebase feature/payment-refactor onto main, surface the risky places: list files that will…
Before I rebase feature/payment-refactor onto main, surface the risky places: list files that will have conflicts, flag commits that touch public APIs, show any changes to package versions, and warn if there are tests in main that fail locally. That will make it easier for Diego to decide when to run his smoke test.

Decide — diagnose the stuck moment

+
While rebasing feature/payment-refactor onto main a conflict appeared in the public API file and…

A conflict popped up in the public API file.

While rebasing feature/payment-refactor onto main a conflict appeared in the public API file and Diego expects backward compatibility. I’m worried resolving this could break his consumers but I can’t judge whether to accept main or keep my change. What is the likeliest consequence of each choice and what should I do now to keep Diego’s work safe and still finish the rebase before Wednesday?

Become — change the pattern

+
We repeatedly rebase under deadline pressure and then integration tests fail on staging because…

We rebase under tight deadlines and then discover integrations fail.

We repeatedly rebase under deadline pressure and then integration tests fail on staging because compatibility changes weren’t coordinated. What habit changes — in how we communicate API changes, run pre-rebase checks, and record approvals — will reduce broken integrations and make Diego and downstream teams less likely to be surprised?

Next to this one

Other version control work people do in Git.

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.