5 Matching Annotations
- May 2020
Having to rebase and cleanup the commits while actively working on something is time and attention consuming.
I'm not sure how I feel about that. Usually I'd say it's worth it to do it periodically, even while you're working on it. Just not obsessive compulsively to the point that it is distracting from actual work.
which might or might not be useful depending on what is the content of the commit.
Just to make this clear, I'm on the side that adding strict rules doesn't necessarily improve a situation. Especially with something that is subjective like a commit message.
Good commit hygiene in general is a tough thing to enforce. It requires manual labor and descipline, from both the author and the reviewer.
If we can encourage people to create clean commits as they go, the example as you showed above should be far less common, because cleaning up such history as an after-math is most of the time almost impossible.
- good commit messages
- do it right/well the first time because it may be too hard to clean up/fix later if you don't
- too many rules/policies not necessarily helpful/a good thing
- time wasters
- good commits
- it depends
- requires discipline
- requires great effort/time/resources
- good policy/practice/procedure