Skip to main content
Module 4 · Lesson 1 of 414/34 in the course~17 min
Module lessons (1/4)

Fast-forward merges vs --no-ff feature bubbles

Lesson preview5 hands-on exercises readyGit & Modern Collaboration · Module 4 — Merging & Conflict Resolution

Compare linear pointer advancement with explicit 2-parent merge commits preserving branch history.

What you'll learn in this lesson

  • Contrast Fast-Forward pointer slides (linear timeline) against explicit 2-parent --no-ff feature bubbles.
  • Guarantee zero accidental merge commits using the --ff-only guardrail when linear history is desired.
  • Decide cleanly when a team benefits from preserving grouped feature history vs sliding main forward.

Overview

Suppose you fork feat/metrics off main, record two commits, and nobody else touched main in the meantime. Because main is a direct ancestor of feat/metrics, Git can integrate them in two radically different shapes:

Click Merge (Fast-Forward) vs Merge (--no-ff) vs Rebase in the interactive lab below to watch the DAG transform immediately:

Sections covered in this lesson

  1. 1Pointer Slide vs True Merge Commit
  2. 2Compare Topologies Side-by-Side Live
Pro Lesson · Module 4 — Merging & Conflict Resolution

Unlock "Fast-forward merges vs --no-ff feature bubbles" and the full Git & Modern Collaboration curriculum

Compare linear pointer advancement with explicit 2-parent merge commits preserving branch history.

Unlock all 5 hands-on exercises in this lesson plus every advanced WebAssembly module with automated checks.

  • Instant access to all advanced modules in Git & Modern Collaboration plus 17 more courses
  • Hands-on browser exercises with automated test suites and solutions
  • 14-day money-back guarantee processed via Paddle.com

14-day guarantee · Cancel anytimeModule 1, all 18 interactive games, and cheatsheets are always free.