DEV Community

Discussion on: The Marie Kondo guide for the clean developer

Collapse
 
samuelfaure profile image
Samuel-Zacharie FAURE • Edited

as most repositories, at least on GitHub, now default to forcing squash commits when merging feature branches

Indeed this is bad practice. Rebase is the obvious way to go.

It happened to me in code and in life that I threw away stuff that I actually needed later, so a mistake. But practicing mindful getting-rid-of-my-shit has been amazing, as a whole. That being said, it's good to remember that anything related to self-help is the domain of wolves and scammers.