Intermediate Git & Version Control
Q49 / 100

What does "squashing" commits mean in the context of Git?

Correct! Well done.

Incorrect.

The correct answer is B) Combining multiple commits into a single commit, typically to create a cleaner, more meaningful history before merging

B

Correct Answer

Combining multiple commits into a single commit, typically to create a cleaner, more meaningful history before merging

Explanation

Squashing is often done via interactive rebase ("squash" or "fixup" actions) to combine many small "work in progress" commits into one coherent commit before merging into a shared branch.

Progress
49/100