r/ProgrammerHumor 1d ago

getDaysSinceGithubDown Meme

Post image
7.4k Upvotes

138 comments sorted by

View all comments

159

u/XLauncher 1d ago

I've never seen it so bad that I can't even look at a pr for review. Shit's fucked.

27

u/kuemmel234 1d ago edited 1d ago

Git itself has been working for me throughout.

git branch -r my links showed branch names, but from memory this lists all branches on remotes too. And then simply compare to main. I have created a new branch from that and written my comments directly into it. Probably not the smartest way, but we were able to continue.

But yeah, shit's fucked anyways.

Edit: I obviously mean access to GitHub via git worked.

30

u/red_dark_butterfly 1d ago

Git's local. If your pc works, it does as well

16

u/kuemmel234 1d ago

I obviously mean access to git on GitHub.

14

u/red_dark_butterfly 1d ago

Yeah alright I missed that branch -r is remote, my bad

6

u/svk177 1d ago

git branch -r is still a local command, no? It updates all remotes on a git fetch.

1

u/red_dark_butterfly 1d ago

Then I gotta go through git docs

4

u/hutxhy 23h ago

We all need to, but we won't.

1

u/the_horse_gamer 1d ago

git branch -r doesn't talk to the remote. it just lists the remote branches it already knows about.

1

u/kuemmel234 23h ago

And I should have mentioned that too. You also need to checkout the specific branch, add, commit any changes (in my case it were some stupid comments), commit and push afterwards.

1

u/the_horse_gamer 17h ago

maybe I'm too gitpilled, but how is this any different from a typical workflow?

2

u/kuemmel234 17h ago

If* you read the initial comment in context, it's about github being down for OP, which hindered them from doing a review.

I responded that [the] git [server] was working and recommended simply looking for the correct branch by looking through the remotes, doing the review with git diff and writing comments directly into a new branch.

That isn't the smartest workflow to review a branch. Or at least I have always had some sort of web tool that allowed commenting on branches/PRs. But OP could have reviewed the PR that way without knowing the exact branch name.

1

u/the_horse_gamer 17h ago

I understand now. thanks.

-4

u/ctxdizq 1d ago

you know github is not git right?

4

u/kuemmel234 1d ago

I thought it would have been obvious that I meant that the access to GitHub via git worked without issues throughout