Live data from Hacker News

Ask HN: Can we do better than Git for version control?

news.ycombinator.com

11–20 of 309 posts

Re: Ask HN: Can we do better than Git for version control?

#11
I do believe that it is possible, at least at the API (cli) level.

While git is good under the hood, then it has not really user-friendly interface.

Also git heavily benefits from GitHub's success, which locks us with git :(

I wrote about it here https://trolololo.xyz/github - GitHub is really good, but there's a small problem with that

Re: Ask HN: Can we do better than Git for version control?

#13
Perforce.

As for DVCS, the best one I've used is Darcs: https://darcs.net/ There are some sticky wickets (specifically, exponential-time conflict resolution) that hindered its adoption.

Thankfully, there's Pijul, which is like Darcs but a) solves that problem; and b) is written in Rust! The perfect DVCS, probably! https://pijul.org/

Re: Ask HN: Can we do better than Git for version control?

#14
post #8
post #6

Of course there is a room for improvement... One of the biggest issues is usability/user experience: pull, fetch, checkout, commit, push, rebase - what is all this and what is the exact meaning? I need simple English terms for my work - like update and save - nothing more. Why do I need to worry about implementation details and terms? If I can not explain it to my wife, then I can not use it for binary documents whic…

To be honest, I can’t even imagine what you imagine “git save” and “git update” would even do in an alternate universe.

This is funny because in PR oriented development I started treating commits in the same way as "save" in IDE,

it's just backup of current state with irrelevant commit message. Everything is described at the end of the work in PR's description and squash merged.

Re: Ask HN: Can we do better than Git for version control?

#15
I am not sure if we will ever be able to replace git with anything else. It is so ubiquitous and just "good enough" for most developers, that the pain of switching to a completely new system would far outweight the benefits. Therefore the only solution that I see is a versioning system that is fully backward compatible with git, maybe just a better API layer on top of git. Facebook tried something similar with Sapling.

For a new versioning system we do not need twenty different choices. We need one free, open, and solid solution that everybody uses.

What the main leaders of the industry should really is to found a groupo that defines that standard. This would be their chance to really make the world a (slightly) better place.

Re: Ask HN: Can we do better than Git for version control?

#17
Besides the frontend problems with git that everybody talks about, the backend could be improved. It's now line-oriented. It would be more useful if it knew about the semantics of the language you were writing so it could show you semantic differences. That might also provide a mode for binary files which git doesn't handle very well now.

Re: Ask HN: Can we do better than Git for version control?

#18
You could probably do better, yes. But if someone is to do better, I'd hope they actually learn git first.

A lot of alternative tools come up because of people writing them being unwilling to learn git. There are a handful of concepts and a few handfuls of commands and thats it.

And once someone learns git throroughly, they usually come to see that it is actually good enough, and dont bother making something new.

Re: Ask HN: Can we do better than Git for version control?

#19
post #16

Subversion was really good. It wasn't perfect, but it was relatively painless. Instead everyone switched to a "distributed" version control system that is such a pain in the ass it is all now hosted by a single company.

Please, Github is so much more than git hosting. If all it offered was source hosting, no one would care for it.

Re: Ask HN: Can we do better than Git for version control?

#20
post #16

Subversion was really good. It wasn't perfect, but it was relatively painless. Instead everyone switched to a "distributed" version control system that is such a pain in the ass it is all now hosted by a single company.

My first job used SVN and it limited workflows compared to git. Branches are more expensive, so people adapt their workflows. I used git-svn on that job, which allowed me to refactor locally; not a feature available to me or others once pushed.

My colleagues evaluated git and thought it was too complicated. A few years and a lot of employments later, they’re all using git. I don’t know if it was peer pressure from enough young recruits, but the verdict is clear: git is better than SVN.

Post reply on HN