You are signed in. Close

You are signed out. Close

Thank you. Your subscription has started. Close

Thank you. You will get an email when a new comic comes out. Close

We could not confirm your payment. If you paid, use the link "Sign in" at the bottom of the page. Close

Something went wrong on our side. Please try again in a moment. Close

Previous episode Git merge: how two lines of work become one

How Git keeps every version of your project without filling your disk

Git merge conflicts: why Git stops and asks you

Most Git merges go through on their own. Then one day Git stops halfway, prints the word conflict and waits for you. Why can it not choose, and what do you do next?

  1. 1 On main you made the frog slower, and on harder-levels, a branch you started for tougher levels, you made the game harder. Now you run git merge harder-levels.harder-levelsmainHEADHarder levelsSlower froggit merge harder-levels

    On main you made the frog slower, and on harder-levels, a branch you started for tougher levels, you made the game harder. Now you run git merge harder-levels.

  2. 2 This time Git stops halfway and prints the word conflict, though the last merge went through on its own.youWhy?GitConflictin game.js!

    This time Git stops halfway and prints the word conflict, though the last merge went through on its own.

The rest of this episode is for subscribers

Subscribe to read every premium episode. You can cancel when you want.

Paid yearly: $99 instead of $119.88

Next episode git clone: what you really get when you copy a Git project

Share this comic

More comics