DEV Community

Discussion on: Git the Parts to Avoid

Collapse
 
tandrieu profile image
Thibaut Andrieu

These advices are meaningful for very beginners. When you really don't know what you are doing, it is better to not use “destructive tools” at all. I've already seen some team rebasing and rewriting their master once a month 😱
However, when properly used, squash, interactive rebase, push force, etc… really are part of day to day developer's toolbox. Typically, to avoid stacking "Address PR", or "Fix Typo" commit at the top of your branch.