@ls I think the line of thinking which treats git's internal structure as... internal, i.e. something you shouldn't be aware of, is mistaken. Being aware of those internals gives you an understanding which unlocks a lot of powerful tools, workflows, and options.
@sir Yes, it surely does. It helps to know how thinks work, that's true for a car, too. But #Git requires you to know about the internals but a car doesn't. I think Git is (one of) the most powerful repo systems we have, but it's still poorly designed. I don't like that rebase-stuff. In my opinion, the history should be strictly readonly.
@ls I mean, but we're not talking about the suburban mom driving the mini-van to drop the kids off at soccer practice. We're talking about professionals. Should a racecar driver not understand how cars work?
@sir A race car driver is not a gear box or drive train engineer, that's a different job profile. I think, professionals appreciate tools which help them do their actual job and are not a project by itself.
@moonbolt @sir @ls Yeah, exactly! Most people don't need to know anything about blobs and trees. It'll just be confusing and a turn-off. If you know what a /commit/ is and how they relate (i.e. commits are changesets, and it's a tree of commits [technically DAG, but saying tree to start with is less intimidating]) then you should be good, I'd think.
@IceWolf @sir @ls Not that elegance isn't nice. But we badly need sound abstractions: otherwise we'll end up with ecosystems that have impossibly high barriers to entry, because before you can do anything, you need to know the theory and internals, which requires a good understanding of the theory and internals of everything it's based on, which requires a good understanding of…
@sir @moonbolt @ls I mean, when /would/ you need to go digging in the .git folder? With things like rebase and filter-branch, I've never needed to myself. Data recovery /maaybe/, but I wouldn't expect regular users to need to know how to handle that.
And for redacting private things that shouldn't have been committed, also maybe – but we have tools for that.
The social network of the future: No ads, no corporate surveillance, ethical design, and decentralization! Own your data with Mastodon!