2025-10-20 / Alexander Shvets

Practicing merging, rebasing, and resolving conflicts

TL;DR: I've added a new focused practice to GitByBit that teaches merging, rebasing, and resolving conflicts. You can access it in the latest version of GitByBit for VS Code.


Have you ever merged a branch and been greeted by a wall of conflict markers? Or pulled changes from a remote repository only to find that your local changes are at odds with the incoming ones? This is one of the most frustrating aspects of using Git, especially for beginners.

Merge conflicts: the bane of every Git user.

For that reason, I've added a new focused practice to GitByBit called "Merging, rebasing, and resolving conflicts." In this practice, you will:

  • Learn what the fuss is about merging versus rebasing, and when to use each.
  • Explore when Git performs a fast-forward merge versus creating a merge commit—and why that distinction matters.
  • Rehearse rebasing and merging on real-world branches without touching production repositories.
  • Learn how to choose the right integration strategy for your project and team norms.

Conflicts are part of collaborative work, so the practice leans into them. You will see how conflicts arise, learn to spot the important bits in the conflict markers, and resolve them using both the terminal and a graphical interface.

Finally, the practice will guide you through a common failed push scenario. You step into the shoes of an experienced Git user helping a teammate push their changes to a remote repository while navigating cryptic errors and merge conflicts.

You can access the new merging and rebasing practice right away in the latest version of GitByBit for VS Code.

Blog

GitByBit dev diary, thoughts and ideas about Git, GitHub, and the world of software development by the industry veteran Alexander Shvets.

Wanna receive new posts via email?

© 2024-2025 GitByBit.All rights reserved.

Hi! I'm Alex, creator of GitByBit.

This page is part of the dev diary, where I share my progress, thoughts, and ideas about Git and the software development in general.

GitByBit is a one-of-a-kind course that is integrated into the VS Code code editor. Learning directly in VS Code lets you operate Git exactly as you would in real life, doing real jobs, writing real code.

In addition, the course has access to your actual terminal, so it can point out mistakes, suggest workarounds, etc.

The course is FREE, there are no Ads or other bullshit. There are optional premium add-ons you can purchase, mainly to support my work (regrettably, I have to eat every day), but that's totally up to you.

Learn Git in VS Code