3 ms·
I think the most intuitive way to think about commits in a version control system is that they would be diffs. It's certainly how most people interact with git.
by delecti 3y ago
I think the most intuitive way to think about commits in a version control system is that they would be diffs. It's certainly how most people interact with git.
Even despite knowing that's not how they work in git, it's usually easier for me to treat them that way.
- cryptonector 3y agoThe appearance that commits are diffs is realistic enough though. The question was why branches (and tags, and other refs) as pointers is unnatural, and I second the question because for me it's quite natural, while Mercurial style branches feel quite restrictive (and I never internalized their rules).