DEV Community

Discussion on: Git the Parts to Avoid

Collapse
 
shandesai profile image
Shan Desai

Won't agree too much here. Squashes on Main branch is perhaps a no-no, but often times you open a Pull Request with a feature you need to start making changes to the code (tests, more adaptations etc.) I would much prefer to squash these commits and bunch them a feature when merging to main branch and not multiple commits that sometimes drifts from the main feature.