4 ms·
To me, the advantage of squashing is that it makes your changes atomic, like database transactions. If you need to back or forward port your functionality to an
by quanticle 11y ago
To me, the advantage of squashing is that it makes your changes atomic, like database transactions. If you need to back or forward port your functionality to another branch, it's easy. You just cherry-pick a single commit and you're done. If you don't squash, then it's not nearly as easy to automatically move features from one branch to another.