squash

Combining several commits into one, for example small fix-up commits into the commit they fix.

In more detail

In an interactive rebase, marking a commit squash melds it into the commit above and lets you edit the combined message; fixup does the same and keeps only the first message. Hosting services also offer a squash merge that turns a whole pull request into one commit.

Related terms

Taught in

References