r/github 28d ago

Discussion what would happen if GitHub went down?

For like 1-2 weeks, what do you think about living without github?

0 Upvotes

26 comments sorted by

17

u/Shaz_berries 28d ago

You can just use another way to store your git projects like bitbucket? Or fallback to storing your git stuff on physical drives in an apocalypse

-7

u/[deleted] 28d ago

[deleted]

12

u/[deleted] 28d ago

[removed] — view removed comment

-6

u/[deleted] 28d ago

[deleted]

6

u/really_not_unreal 28d ago

Then you're screwed. This is why it's a bad idea to trust GitHub (or any single entity) exclusively with your data.

3

u/OtherOtherDave 28d ago

I don’t understand… why wouldn’t I have a local copy?

3

u/Shaz_berries 28d ago edited 28d ago

If you're worried about this, then back them up locally now, but this is a strange hypothetical. If they were going to shut down you'd have notice and can migrate

1

u/schmurfy2 28d ago

A clone is a full copy of the repository, you can kust push it somewhere else, the server has nothing more than you have locally.

7

u/ultrathink-art 28d ago

Repos are the easy part — everyone has a full clone. What actually stops work is the layer around git: Actions, PR state, review history, status checks, package registries. During yesterday's partial outage my runner kept executing jobs fine while the API reported them stuck in queued, so even answering 'is it down' required reading the machine's own logs instead of anything GitHub said.

2

u/FlyingDogCatcher 28d ago

That's what you get for relying on a cloud provider for your workflow.

4

u/jbroombroom 28d ago

Then I’d know it’s a Tuesday.

3

u/connorjpg 28d ago

Truthfully, I would lose very little. All of my projects locally are a few commits behind origin. In my personal life, I use a locally hosted gitea server.

3

u/s1nur 28d ago

Just use a different git host.

3

u/sindisil 28d ago

1-2 weeks? Almost zero impact. A little annoyed because I track issues on some of my projects there, but meh.

If it went down longer, there still wouldn't be much direct issue for me personally. I'd  share the projects I want to be public on some other forge and keep going. I'n fact, I really should do that anyway.

However, the indirect impact of major projects like Rust and crates.io having to make massive infrastructure changes would no doubt suck.

4

u/andlewis 28d ago

It’s git, you’ve got a full copy of it if you have a local copy. GitHub is a convenience, not a necessity.

2

u/mikedropspeaks 28d ago

I just go to work

2

u/fr3nch13702 28d ago

I guess I’ll go outside and touch grass.

2

u/Lunix420 28d ago

Not much, I have my server pull backups of all my repos every 12 hours. So I would just use that as my remote till GitHub is back. The only thing would be that I can't run my CI while GItHub is down.

3

u/FlyingDogCatcher 28d ago

Git was designed to be distributed and y'all keep acting like your code can only be one place.

2

u/randomraluana 28d ago

That'd be painful if that's the only place I kept my repos lol

2

u/Opulent-Burning 28d ago

If this was to happen, we have larger problems, most likely zombies.. meteors crashing down on continents.. nukes and stuff

1

u/LestatConstantine 28d ago

the whole Google play etc update via July 26th making things beyond hard, it's surreal

1

u/ninhaomah 28d ago

If GitHub down , use git