2 ms·
I am the opposite, I like shush-merge although I understand and empathize with your view. My usage is to commit very frequently, like whenever I make a non-tri
by gumby 10y ago
I am the opposite, I like shush-merge although I understand and empathize with your view.
My usage is to commit very frequently, like whenever I make a non-trivial fix or small refactor, or when something that touches several files compiles cleanly, or passes a unit test. This is several commits per day. It's practically every file save (if you remember filesystems with explicit version support). So my commit history is very noisy.
When I push back to a shared repo, I want the commit history to document what the change is; various false or partial paths are not enlightening (if I planned to follow strategy 'X', found it did work, and backed out and used algorithm 'Y' then that should go in the source as a comment, not in the metadata.
If my check ins were once a day I might not want to lose them. So I'm philosophically aligned with you, but my commits are so high frequency that the merge functions as a low-pass filter.
- saurik 10y agoI think the person you are responding to probably does something similar to what I do: make a bunch of changes and then use git add -p and possibly even rewriting history if required to come up with tons of clean and cohesive separable changes. I do not have "false or partial paths" as they end up in stashes or get elided from my local history before being pushed; but the high-level task I had, once finished and pushed to a shared repository, definitely contains tons of small change units that I want to keep.