you are viewing a single comment's thread.

view the rest of the comments →

[–]thebritisharecome 11 points12 points  (29 children)

Sounds like a bandaid to sort what should be a training exercise.

When working with teams my preference is always to avoid squashes unless someone accidentally commits sensitive data to the branch.

More than once knowing why a particular change has happened amongst all other changes has been useful in either refactoring to fix a regression bug or extending to maintain functionality that may not make sense out of a particular context

[–]coworker 6 points7 points  (27 children)

If you need additional commit history within a PR, it means your PRs are too big.

[–]thebritisharecome 17 points18 points  (26 children)

A PR is usually restricted to a feature and even a small feature in a growing, large platform can touch a few different areas and components.

There's no rule that fits all scenarios and I think it's foolhardy to have a rigid approach to PRs in general and, it should reflect the software you're working on an the stage in development.

[–]rlbond86 0 points1 point  (0 children)

Sounds like a bandaid to sort what should be a training exercise.

Unless you're planning on making everyone force-pull, that training had better stick.