Live data from Hacker News

20 years of Git

blog.gitbutler.com

151–160 of 240 posts

Re: 20 years of Git

#152

Earlier quoted context omitted.

I am keenly aware of how common Git is. A whole generation of programmers have only ever known Git and GitHub. They assume that since it is the standard it must be good. This is a fallacy. Bad things can become popular and become entrenched even when better things exist. Replacing Git today would require something not just a little better but radically better. Git was always worse than Mercurial. It won because of Gi…

So none of the stuff you’re using qualifies as “adult projects”? I don’t object to saying we can do better than git. But saying git “is for hobby side projects” is ridiculous. It’s fine for serious projects.

Depends on how snarky I’m feeling. I’m not sure that webdev counts as wearing big boy pants if I’m feeling frisky! It’d be interesting to analyze how much of the stack used Git as its source of truth versus being mirrored by a BigTech adult VCS!

Git sucks for serious projects. It’s certainly what many people use. But I don’t think “we can do better” is a strong enough statement. Git is bad and sucks. It’s functional but bad. We can do much much better than Git.

I like to rant about Git because we will never do better unless people demand it. If people think it’s good enough then we’ll never get something better. That makes me sad.

Re: 20 years of Git

#153

Earlier quoted context omitted.

So none of the stuff you’re using qualifies as “adult projects”? I don’t object to saying we can do better than git. But saying git “is for hobby side projects” is ridiculous. It’s fine for serious projects.

Depends on how snarky I’m feeling. I’m not sure that webdev counts as wearing big boy pants if I’m feeling frisky! It’d be interesting to analyze how much of the stack used Git as its source of truth versus being mirrored by a BigTech adult VCS! Git sucks for serious projects. It’s certainly what many people use. But I don’t think “we can do better” is a strong enough statement. Git is bad and sucks. It’s functional…

I work at a big tech company. Everything is git. I’m not just referring to the web bits, I mean the whole OS down to the kernel.

Re: 20 years of Git

#154
post #65

There’s something that bothers me about these sorts of recollections that make git seem… inevitable. There’s this whole creation myth of how Git came to be that kind of paints Linus as some prophet reading from golden tablets written by the CS gods themselves. Granted, this particular narrative in the blog post does humanise a bit more, remembering the stumbling steps, how Linus never intended for git itself to be th…

> there are also completely different data structures that would be appropriate for larger bits of data.

Can you talk a little bit about this? My assumption was that the only way to deal with large files properly was to go back to centralised VCS, I'd be interested to hear what different data structures could obviate the issue.

Re: 20 years of Git

#155
post #65

There’s something that bothers me about these sorts of recollections that make git seem… inevitable. There’s this whole creation myth of how Git came to be that kind of paints Linus as some prophet reading from golden tablets written by the CS gods themselves. Granted, this particular narrative in the blog post does humanise a bit more, remembering the stumbling steps, how Linus never intended for git itself to be th…

> There’s this whole creation myth of how Git came to be that kind of paints Linus as some prophet reading from golden tablets written by the CS gods themselves. Linus absolutely had a couple of brilliant insights: 1. Content-addressable storage for the source tree. 2. Files do not matter: https://gist.github.com/borekb/3a548596ffd27ad6d948854751756... At that time, I was using SVN and experimenting with Hg and Bazaa…

> 2. Files do not matter

I wish weekly for explicit renames.

> At that time, I was using SVN and experimenting with Hg and Bazaar. Both were too "magical" for me, with unclear rules for merging, branching, rebasing.

I have no idea what you mean.

> It's such an easy mental model, and you can immediately understand what operations mean.

Many people disagree clearly.

Re: 20 years of Git

#156
post #120
post #65

There’s something that bothers me about these sorts of recollections that make git seem… inevitable. There’s this whole creation myth of how Git came to be that kind of paints Linus as some prophet reading from golden tablets written by the CS gods themselves. Granted, this particular narrative in the blog post does humanise a bit more, remembering the stumbling steps, how Linus never intended for git itself to be th…

> There’s this whole creation myth of how Git came to be that kind of paints Linus as some prophet reading from golden tablets written by the CS gods themselves. What? > Git isn’t just plain wonderful, and in my view, it’s not inevitable either. I mean, the proof is in the pudding. So why did we end up with Git? Was it just dumb luck? Maybe. But I was there at the start for both Git and Mercurial (as I comment elsewh…

For me, the real problem at the time is that "rebase" was a second class feature.

I think too many folks at the time thought that full immutability was what folks wanted and got hung up on that. Turns out that almost everyone wanted to hide their mistakes, badly structured commits, and typos out of the box.

It didn't help that mercurial was slower as well.

Re: 20 years of Git

#157
post #78
post #73

Earlier quoted context omitted.

I'm curious why you think hg had a prominent role in this. I mean, it did pop up at almost exactly the same time for exactly the same reasons (BK, kernel drama) but I don't see evidence of Matt's benchmarks or development affecting the Git design decisions at all. Here's one of the first threads where Matt (Olivia) introduces the project and benchmarks, but it seems like the list finds it unremarkable enough comparat…

[flagged]

Wait a second. You're saying now hg didn't influence git, but how does that fit with your previous comment?

> One particular aspect that often gets left out of this creation myth, especially by the author of Github is that Mercurial had a prominent role

I'm not sure where you're getting your facts from.

Re: 20 years of Git

#158

Earlier quoted context omitted.

Depends on how snarky I’m feeling. I’m not sure that webdev counts as wearing big boy pants if I’m feeling frisky! It’d be interesting to analyze how much of the stack used Git as its source of truth versus being mirrored by a BigTech adult VCS! Git sucks for serious projects. It’s certainly what many people use. But I don’t think “we can do better” is a strong enough statement. Git is bad and sucks. It’s functional…

I work at a big tech company. Everything is git. I’m not just referring to the web bits, I mean the whole OS down to the kernel.

I’m sorry for your loss :(

Re: 20 years of Git

#159
20 years! Which recent Git features do you find useful? I think I've never used any feature less than 10 years old. I'm probably missing something

Re: 20 years of Git

#160
post #120
post #65

There’s something that bothers me about these sorts of recollections that make git seem… inevitable. There’s this whole creation myth of how Git came to be that kind of paints Linus as some prophet reading from golden tablets written by the CS gods themselves. Granted, this particular narrative in the blog post does humanise a bit more, remembering the stumbling steps, how Linus never intended for git itself to be th…

> There’s this whole creation myth of how Git came to be that kind of paints Linus as some prophet reading from golden tablets written by the CS gods themselves. What? > Git isn’t just plain wonderful, and in my view, it’s not inevitable either. I mean, the proof is in the pudding. So why did we end up with Git? Was it just dumb luck? Maybe. But I was there at the start for both Git and Mercurial (as I comment elsewh…

> But I like to understand how tools work, and I personally found Mercurial harder to understand, slower to use, and much less flexible.

It's a relief to hear someone else say something like this, it's so rare to find anything but praise for mercurial in threads like these.

It was similar for me: In the early/mid 2010s I tried both git and mercurial after having only subversion experience, and found something with how mercurial handled branches extremely confusing (don't remember what, it's been so long). On the other hand, I found git very intuitive and have never had issues with it.

Post reply on HN