Skip to content
Latchkey

Squash Merge - CI/CD Glossary Definition

A squash merge combines all commits on a branch into a single commit when merging, so the target branch gets one clean commit instead of the full branch history.

Trade-off

You get a linear, readable main history at the cost of losing the intermediate commit granularity. Many teams enable squash merge as the only allowed merge method on protected branches.

Related guides

Tired of flaky CI? Latchkey auto-heals failed jobs and retries them for you. Start free →