Skip to main content

Course

Git and GitHub

Git and GitHubPart 5 of 6 · Chapter 3 of 3

Merge, Squash, or Rebase

The green button hides three different operations that leave three different histories on your main branch, and most teams pick by accident. See what each one writes, then meet the protection rules that decide who may press it.

Read first: Replaying Commits Somewhere Else


Make a free account to read on

Every chapter is free — an account lets your course progress follow you from your laptop to your phone. No payment, no trial.