2 ms·
> what could be the supposed benefit of committing each line like that? If you're making two meaningfully different changes, I would always say two tiny commit
by bqmjjx0kac 2y ago
> what could be the supposed benefit of committing each line like that?
If you're making two meaningfully different changes, I would always say two tiny commits are better. Not only for organization, but to make it easier to revert just one change.
- diggan 2y ago> If you're making two meaningfully different changes, I would always say two tiny commits are better. Not only for organization, but to make it easier to revert just one change. As long as the tests pass on every commit that ends up the main development branch, you can pretty much do it however you want. But committing per lines changed isn't "making two meaningful different changes", it's saying since they are on two different lines, they aren't related, which just seems wrong.