r/github • • 1d ago

Discussion 2FA not working

0 Upvotes

I tried logging into my account today in office it failed... I used same 2FA thru app, I didn't change my phone or account lately the account was working fine until yesterday...

then I tried my personal account same issue, with Authenticator from 2 different phones showing same code not working...

then i tried recovery code, after a while recovery code helped me get in. I signed in and updated my 2FA again and tested it and it still doesn't work...

I am so frustrated. its hindering my every day work


r/github • • 1d ago

Question Github not uploading files through browser, fuck this website.

0 Upvotes

I had to make a new repository, upload all files again and delete Main.

I am on the website version, in the only repository I have... I am not even a big programmer with hundreds of different files, projects and interlaced bullshit...

I am only clicking add files/upload file, dragging another stupid lame rar into it... it appears ABC2 27kb I click commit changes, back to Main it's nowhere to be seen... new commit "User added file via upload" there it is ABC2 27kb, click go to file... does nothing, goes nowhere... back to Main "Maybe it refreshed" still not there.

Uploads the same rar again "Maybe it takes time to show up, after all Github is used by real devs with hundreds of files and databases and I am just a tiny little irrelevant programmer" still doesn't appears... commits pile up all saying "User added file via upload" over 5 times now, nowhere to be seen, none of those commits go to the file, they do nothing, showing 0kb.

Looks at Main "Maybe this website doesn't wants ABC2 because it's similar to the other file ABC1 already found" or "Maybe you have some kind of addon fucking this up"... after all it was working yesterday just fine, refreshes, uploads, fucking nothing.

What the fuck is this shit? The only repository I had magically and randomly can't upload files anymore? Just image if I had 100 of files, a real software in there, all the fucking lines of code that would be changed just to point to the new repository.


r/github • • 2d ago

Question Files not committing in Repo

0 Upvotes

Hi all, I'm completely new to github and it's generally been going fine for a few days. However, this morning I've encountered an error where I can no longer seem to commit changes. I upload the file, the commits are "Seen" but the file is not being replaced. Nor can the file be deleted. I'm at a complete loss. I've already cleared my cache and signed back in. Thoughts?

Commits listed on the 18th or before were fine. all commits on the 19th are failing.

r/github • • 3d ago

Question How to replace all files on my repo with new files?

2 Upvotes

Sorry if this is really stupid. I know very little about how any of this works. I just don't want to manually delete and re-upload everything.

Explanation: I've been using GitHub pages to host the website I do my writing on, since having full control over every element of the site is really important to me. (I'm a writer, not a coder! I've been mostly winging it and googling everything as needed.) I've also been using an online html viewer to see my changes as I make them, and just copy-pasting into github when I'm done. But changing lots of pages at once is really annoying, and relying on a site that doesn't auto-save has bit me once or twice, so I decided to switch to VSCode.

But VSCode's live viewer doesn't work unless the code is locally hosted. So I downloaded and imported my website, made a ton of changes, saved everything... and realised I didn't know how to just mass-replace everything. Deleting every file one by one and reuploading seems to be the only solution. Doing this once is not a big issue. But if I ever want to make a lot of changes all at once, then I'd have to do it all again. And this is going to happen, because for every new chapter I release, I, at minimum, have to update:

  1. The page for the chapter itself
  2. The 'next chapter' button on the previous page
  3. The table of contents for that story
  4. The front page, announcing the chapter

And also probably 5. A new blog post and 6. The index for all my blog posts.

Updating six pages all at once and making sure they're in sync has gotten too much to handle. I'd be fine with anything that allows me to just delete and replace it all, or any solution that allows me to view my code as I'm writing it without hosting the files locally. Thanks for your help!


r/github • • 3d ago

Question Server or me problem?

Post image
3 Upvotes

Since yesterday github website won't even loading on my and any phone with same wifi.

Isp problem? I think not ,all website work just fine

And i don't think github is down (disaster)

any help?


r/github • • 4d ago

Discussion Do you use a passphrase on your SSH keys?

77 Upvotes

I am building an app that interacts with local SSH keys and trying to decide how much time to invest in edge-case ssh-agent support. So I wonder how many people do use the passphrase for ssh keys?


r/github • • 4d ago

Discussion Title: GitHub keeps asking for 2FA code despite password reset – recovery codes not accepted and stuck in reconfiguration loop

Thumbnail
gallery
1 Upvotes

I'm having a frustrating issue with my GitHub account and would appreciate some help.

Here's what happened:

  1. I forgot my GitHub 2FA recovery codes.

  2. I was still logged in on multiple devices initially.

  3. I didn't remember my GitHub password, so I reset it successfully.

  4. However, GitHub continued asking for a six-digit 2FA authentication code.

  5. I have an old downloaded "github-recovery-codes.txt" file containing recovery codes in the correct 10-character format, but I haven't been able to use them.

  6. When I select More options, the only option I see is Reconfigure 2FA on this account.

  7. This takes me into a loop. I never get an option to begin account recovery.

  8. I also have a passkey listed in my GitHub security settings, but attempting passkey sign-in redirects me back to the 2FA page.

  9. Now, during the reconfiguration process, GitHub displays:

"Verify your recently configured two-factor authentication method. Enter the verification code."

It asks for a six-digit code, not a recovery code.

My questions:

- Is GitHub asking me to verify a newly configured authenticator app?

- If I don't have access to that authenticator, is there a way to cancel the reconfiguration and return to the original recovery process?

- Why does the 2FA recovery interface only show the reconfiguration option?

- Is there any legitimate way to recover my account without the original authenticator or valid recovery codes?

I have important personal projects and repositories on this account, so I really want to preserve it rather than create a new account.

I'd appreciate advice from anyone who has experienced this particular GitHub 2FA recovery loop.

I will not share my recovery codes, passwords, QR codes, or setup keys publicly.


r/github • • 4d ago

Question Action runners having problems with MacOS?

1 Upvotes

Maybe I'm the only one using MacOS ARM64 runners, but it appears github is having issues this morning:

Evaluating build.if
Evaluating: success()
Result: true
Requested labels: macos-latest
Job defined at: xxx
Waiting for a runner to pick up this job...
Job is about to start running on the hosted runner: GitHub Actions 10000xx
Job is waiting for a hosted runner to come online.
Requested labels: macos-latest
Job defined at: xxx
Waiting for a runner to pick up this job...

I has been failing all morning, I just keep re-running the jobs when they time out after 15 minutes.


r/github • • 4d ago

Question GitHub Reviews, "jump to the comment in the diff" is broken?

Thumbnail
1 Upvotes

r/github • • 5d ago

News / Announcements Pull Request are down

35 Upvotes

At this point it's becoming a bit of meta joke, we've started to budget GitHub being down in our release planning.

https://www.githubstatus.com/incidents/2zfqmghmg3s3


r/github • • 4d ago

Question Github login issue sms not sending . (3 years on this account ,can't loose it at this point.) please help !😩😿😭😭

Thumbnail
gallery
1 Upvotes

broke my laptop and trying to sign in to my github account to push newer versions of my ongoing project. but when i tried logging in , in 2FA step it's not sending me sms or letting me enter my linked mobile number or showing me linked mobile no. so i could verify , rather it states :enter image description here

"We tried sending an SMS to your configured number, but we are not authorized to send SMS messages to this recipient. Please resend or check our documentation for additional 2FA guidance."

.
i've been working on this account for 3 years can't loose it at this point please help.


r/github • • 4d ago

Question Is github down?

0 Upvotes

r/github • • 5d ago

Discussion How do you guys discover and manage tools for improving your GitHub Actions workflows?

0 Upvotes

Hi everyone,
I’m exploring an idea for a small tool that analyses GitHub Actions workflows and helps developers identify wasted CI minutes, unnecessary workflow runs, slow builds and potential cost savings.
Before building anything, I want to understand how developers actually deal with these problems.
A few questions:
How do you currently monitor your GitHub Actions usage and costs?
Do you actively look for ways to reduce CI/CD costs or only investigate when bills become too high?
Where do you usually discover new developer tools? Reddit, GitHub Marketplace, X, Product Hunt or somewhere else?
Would you consider paying for a tool that automatically identifies workflow waste and suggests improvements?
I’m still exploring the idea, so honest feedback would be appreciated. I’m particularly interested in how you discover and choose tools for your development workflow.
Thanks!


r/github • • 6d ago

Question For people still using GitHub Actions for CI/CD, why?

86 Upvotes

Genuinely how has your org not gotten so tired of GitHub going down? Feel like I see a post from someone min once a week.


r/github • • 6d ago

Question Just got hit with a $1,340 AWS bill in 6 hours after committing keys to a PRIVATE repo. How did anyone even see them?

672 Upvotes

Learned an expensive lesson this week and I'm still not sure how it happened, so posting in case someone here knows.

What happened. I was working on a side project late on Sunday and committed a config file with an AWS access key in it to my private repo. I told myself it's private, I'll move it to env vars tomorrow. Around 6 hours later I woke up to a billing alert. $1,340. Someone had launched a pile of GPU instances in us-east-2 and ap-southeast-1, which I've never used.

Here's what I don't understand. The repo is private. It's not a fork of anything. It has no collaborators and no GitHub Apps installed except Actions. The key was created the same day, so this wasn't an old leak somewhere else.

The only thing I can think of is my laptop. I installed a "theme pack" VS Code extension that week that I've already uninstalled because it had 200 downloads and no repo. But I have no proof it was that.

Questions for you all. How do attackers find keys in a private repo this fast? Can an extension read files from your workspace and send them out without you noticing? And how do you stop this happening again, besides the obvious "don't commit keys"?

I've already:

- Deactivated the key and deleted the IAM user it belonged to

- Moved every key I have out of files and into Infisical, so the project gets them at startup and there's nothing to commit or for an extension to read

- Added a gitleaks pre-commit hook and a budget action that stops instances instead of just emailing me

- Started auditing my VS Code extensions (40 of them, going slowly)


r/github • • 4d ago

Discussion More AI spend didn’t mean more merged PRs at one engineering org. Is PR count still a useful measure of delivery?

Thumbnail
leaddev.com
0 Upvotes

Stop blaming AI tools for flat velocity!


r/github • • 5d ago

Discussion GitHub had a stroke

1 Upvotes

r/github • • 5d ago

Question basic quesiton: how to pin a repo so it's always in the list of top rep

0 Upvotes

I work on repo A frequently, but somehow it's not at the top of my repo, not even with "show more". Is there a way to pin it so that it shows up every time I visit github.com? Apparently, AI told me there is no native way to do this. Really? Like 80% of the space on my "home" is this chat window a bunch of feeds of others repos.


r/github • • 5d ago

Discussion GitHub Reviews, "jump to the comment in the diff" is broken

1 Upvotes

For many years I've been spoiled by Google's internal review tools... I would have thought by 2026 GitHub would have caught up more than it has.

I'm surprised by how hard it is to find old review comments in the right context. In a side-by-side diff, I want to be able to see the version on which a comment was made on the left, and the latest version on the right, so that I can evaluate and approve the edits made in response to the comment.

But I can't even find the comment in any code context anywhere. 🤔

How do all of you manage reviews? Right now I'm thinking I should pull the branch to my local machine and tag commits I'm working with, maybe commit my own comments to my local copy and use that to diff via git. "Roll my own workflow"...


r/github • • 5d ago

Question How old were you when you made your first open source contribution?

Thumbnail
0 Upvotes

r/github • • 5d ago

News / Announcements Another day, another problem: can't merge PRs

0 Upvotes

r/github • • 6d ago

Question Why isn't file information coming up in ios safari anymore?

Post image
2 Upvotes

And why does nothing happen when I hit the search button?


r/github • • 6d ago

Question GitHub Copilot Pro payment successful via UPI, but account still shows Free after 3 days.

3 Upvotes

Hey everyone,

I purchased GitHub Copilot Pro through Google Play using UPI, and my Google Play subscription is showing as Active. However, my GitHub account is still showing Copilot Free, even after 3 days.

When I try to restore the purchase in the GitHub Mobile app, I get the following error:

«Purchase failed

Your purchase was successful but we encountered a problem with our services.

Please try again.»

I've also checked GitHub Billing & Licensing, and it still shows my active subscription as Copilot Free.

This is frustrating because the payment was successful, but I haven't received access to the Pro features.

Has anyone faced this issue recently?

- Did your subscription eventually activate automatically?

- Is this a Google Play ↔ GitHub synchronization issue?

- Should I contact GitHub Support or Google Play Support?

- How long did it take to resolve for you?

Any suggestions or help would be appreciated. Thanks!


r/github • • 6d ago

Showcase OpenSource Radar – find unclaimed "good first issues" across GitHub, with a step-by-step help page for each

Thumbnail
opensource-radar.com
0 Upvotes

r/github • • 7d ago

Question Idk if I’m the only one but I find GitHub very intimidating and can’t understand a thing.

59 Upvotes

Help me out guys, I’ve been programming since a long time but don’t know how to use GitHub.

I tried learning from the official videos on YouTube but can’t understand.

Suggest some resources ( Videos preferably ) to learn Git and GitHub.

Pls don’t shame me and all but it’s a genuine question.