| ▲ | what 5 hours ago | |||||||||||||||||||||||||||||||
Why would you have more than one commit for a PR? That sounds like crazy town. | ||||||||||||||||||||||||||||||||
| ▲ | chrisweekly 4 hours ago | parent [-] | |||||||||||||||||||||||||||||||
IMHO equating commits and PRs puts undue pressure on the scope and quality of a given commit, adding potential for unnecessary stress and eliminating the benefits of an additional buffer / layer for aggregation of changes. A PR representing a sizable feature or refactor might naturally contain a dozen commits, each dedicated to a logical area or a requisite subset of the whole. Assuming on principle a goal of keeping main in a known-good state, such intermediate and incomplete changes (fine in an unstable feature branch) would wreak havoc. It's equivalent to asking, "Why would you have more than one story in an epic (or task in a story)?". | ||||||||||||||||||||||||||||||||
| ||||||||||||||||||||||||||||||||