Promptles
Git & Collaboration

Squash

advanced

Definition

Mashing several small checkpoints together into a single tidy one before they get merged into the main project. The little 'oops, fixed a typo' and 'tried something' moments disappear, and what's left is one clean, meaningful entry in the history.

In the wild

A developer makes 12 little checkpoints over a day while figuring out a tricky feature: many of them messy. Before sending it for review, she squashes them into one neat checkpoint titled 'Add export-to-PDF feature.' The team's history stays clean and easy to read.

More from Git & Collaboration