| ▲ | zaphirplane 8 hours ago | |||||||||||||||||||||||||
What are examples of better ones. I don’t get the let me show the world my work and I’m not a fan of large PR | ||||||||||||||||||||||||||
| ▲ | duskdozer 8 hours ago | parent [-] | |||||||||||||||||||||||||
if you mean better messages, it's not really that. those junk messages should be rewritten and if the commits don't stand alone, merged together with rebase. it's the "logical chunks" the parent mentioned. it's hard to say fully, but unless a changeset is quite small or otherwise is basically 0% or 100%, there are usually smaller steps. like kind of contrived but say you have one function that uses a helper. if there's a bug in the function, and it turns out to fix that it makes a lot more sense to change the return type of the helper, you would make commit 1 to change the return type, then commit 2 fix the bug. would these be separate PRs? probably not to me but I guess it depends on your project workflow. keeping them in separate commits even if they're small lets you bisect more easily later on in case there was some unforseen or untested problem that was introduced, leading you to smaller chunks of code to check for the cause. | ||||||||||||||||||||||||||
| ||||||||||||||||||||||||||