Feedback

Chat Icon

Learn Git in a Day

Everything you need, nothing you don't

Keep Your Branch in Sync
56%

When Rebase Fights Back

Just like merging, a rebase can run into conflicts if both sides changed the same lines. When that happens, Git will pause and ask you to resolve the conflict - the same way you did with merge conflicts in Chapter 5.

After fixing the conflict in the file, continue the rebase:

git add 
git rebase --continue

Learn Git in a Day

Everything you need, nothing you don't

Enroll now to unlock all content and receive all future updates for free.