GitHub 11 🌐 Merging PRs: Merge, Squash, and Rebase Strategies
A pull request is the proposal. Merging is the execution. When a pull request is approved and its checks pass, GitHub offers three distinct buttons: “Merge commit”, “Squash and merge”, and “Rebase and merge”. These are not cosmetic variations of the same action. Each produces a fundamentally different shape of Git history, and the choice…