Git & Version Control

Squash

/skwɒʃ/

Definition

Combining multiple commits into a single commit, often done during PR review to clean up a noisy commit history.

Example in context

"16 commits for a tiny feature — squash them into one before merging so the main history stays readable."

Related terms

Practice this term

Master Squash in context by working through exercises in the Git & Version Control module. You'll see the term used in real engineering scenarios with multiple-choice, fill-in-the-blank, and matching drills.