Squash Merge

Noun · Open Source

Definitions

  1. A merge strategy that combines all commits in a branch or pull request into a single commit before adding it to the target branch. Squash merges are often used to keep project history cleaner and easier to scan, especially for smaller PRs.

    In plain English: A merge method that compresses a branch’s commits into one commit when it is merged.

    Example: "The repo uses squash merge by default so every merged PR lands as one coherent commit."

Related Terms