DEV Community

Discussion on: ⛔ Squash commits considered harmful ⛔

Collapse
 
wesen profile image
Manuel Odendahl

just as easy as a revert of a squashed commit. Pass in git revert -m1 commit, it will then use the "filesystem state" of the left parent node as the revert result, just as it would if you had a single squash commit.

Collapse
 
aalvarado profile image
aalvarado

Cool, I think that most people don't use merge + squash and it's something that with the --first-parent option doesn't really matter now if they do or not.