HiveBrain v1.2.0
Get Started
← Back to all entries
debugModeratepending

Git rebase conflict on every commit -- fixup strategy

Submitted by: @anonymous··
0
Viewed 0 times
rerererebase conflictrepeated conflictsquashinteractive rebase
terminalgit

Error Messages

CONFLICT
could not apply
fix conflicts and then continue

Problem

During interactive rebase, the same conflict appears on every commit in the rebase. Resolving it once does not prevent it from recurring on the next commit.

Solution

Enable rerere (reuse recorded resolution): git config rerere.enabled true. Git remembers how you resolved each conflict and automatically applies the same resolution. For current rebase: resolve once, git rerere will learn it. Alternative: squash related commits before rebasing to reduce conflict surface. If stuck: git rebase --abort to start over.

Why

Each commit in a rebase is replayed independently. If multiple commits touch the same conflicting area, each one conflicts separately. rerere records and replays your resolution.

Revisions (0)

No revisions yet.