Hacker News new | comments | show | ask | jobs | submit login

I've found it somewhat odd how, although advocating the use of a decentralized version control system, much of the git community has ended up heavily centralized on GitHub.

It is a distributed system. You still have to have shared remotes in order to integrate branches.

Yup, when github barfs, you can still happily keep on hacking.

You're also not limited to one shared repo by any means, so even synchronization between multiple developers can continue when github is down. To avoid problems it's of course a good idea when one of the repos is a "master", and if using a secondary repo for synchronization when the master is down, you'll probably want to switch to unique temporary branches for the purpose.

well, lot of open-source projects depend on github as source of their code distribution. github is like the new sourceforge these days.

One possible backup would be Bitbucket (https://bitbucket.orghttps://bitbucket.org/).

(I'm not affiliated Bitbucket in any way. I don't profit from them doing well, aside from them sticking around to keep providing free hosting for me.)

Another possible backup is any host on the internet. Seriously, dump it into a static file directory on any old web server or run a trivial git server. Send deltas with patch files. It's not even harder than github is, just uglier.

If you want to use your own servers, Atlassian (who own Bitbucket) recently released Stash, a competitor to Github Enterprise. Pricing is very good and if you have a commercial license, you also get the source code.

I've evaluated Stash a couple times, and I feel that Gitlab still has it beat.

perhaps there maybe a way to somehow sync-up github w/ bitbucket to act as a single master origin. so we can use either or and they'll be synchronized automatically. or some company that can just act as a mirror to github would be great.

You can set git up to push to multiple repos.

http://stackoverflow.com/a/3195446 - just set this up on a project the other day to have an "all" origin push to github and heroku.

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | Legal | Apply to YC | Contact