this post was submitted on 14 Aug 2024
88 points (95.8% liked)
Programming
17524 readers
220 users here now
Welcome to the main community in programming.dev! Feel free to post anything relating to programming here!
Cross posting is strongly encouraged in the instance. If you feel your post or another person's post makes sense in another community cross post into it.
Hope you enjoy the instance!
Rules
Rules
- Follow the programming.dev instance rules
- Keep content related to programming in some way
- If you're posting long videos try to add in some form of tldr for those who don't want to watch videos
Wormhole
Follow the wormhole through a path of communities !webdev@programming.dev
founded 2 years ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
But Git is so great because it is so decentralised. Everyone says that. I should use Git, they say, because Git still works offline and it's so decentralised. And doesn't depend on centralised servers like ‘the evil SVN’. Then that shouldn't be a problem for anyone ;-)
Git repos are still decentralized. It's just Github was failing, the thing centralized and synced to. The point of Git being decentralized is, being able to take any of the Git repo copies of the current working developer, and host it on a Github alternative. Meaning the code and project did not get lost because of Github. It's not that such an outage wouldn't be a problem, it's just such an outage is still a problem that can be solved and not a showstopper in the longrun.
Even if Github suddenly cease to exist, out of nowhere, everyone who has a repo copy can setup such a server and work on it as nothing was happened (minus the Github features and hopefully nobody uses the Github app). I believe this is not the case with SVN. If the main repo gets corrupted or destroyed, then its an unsolvable problem. Unless you have a backup. And on Git everyone working on the project has basically a backup.
In short, Git itself works offline. But if you are dependent on Github and its features and applications, then it becomes a problem. So I don't know why SVN is mentioned as the savior here.
SVN has become notably better over the past few years, but let me clarify that my comment was not meant as a reason to use SVN.