Nate Reed
Nate Reed

Reputation: 7011

Why does git rebase always conflict?

Every time I try to rebase my branch, I get merge conflicts because some changes in my local repo conflict. The frustrating part is that those changes had been undone in subsequent commits.

Once again, I resolve them, commit and push my changes and everything is fine.

Then, next time I try to rebase the very same conflicts occur in the same files that I had resolved.

Why is this happening?

How can I fix it so these old commits don't cause merge conflicts again?

Upvotes: 3

Views: 528

Answers (1)

forvaidya
forvaidya

Reputation: 3315

please use following command to remember conflicts resolution

git rerere

Upvotes: 5

Related Questions