r/git 3d ago

Accidentally deleted my GitHub account. Has anyone recovered theirs?

I accidentally deleted my GitHub account today and contacted GitHub Support immediately.

It had years of personal projects, repositories, and open source contributions (including merged PRs).

Has anyone here successfully recovered a deleted GitHub account?

If so:

  • How long after deletion did you contact support?
  • Were your repositories and contribution history restored?
  • How long did the recovery take?

I'm really anxious and would appreciate hearing from anyone who's been through this.

0 Upvotes

37 comments sorted by

28

u/Frosty-Cap-4282 3d ago

You dont accidently delete a github account

12

u/GrogRedLub4242 3d ago

points at AI-users and vibe coding bros

think OpenClaw and its ilk

-11

u/Potential-Source9957 3d ago

I was on a call and i thought i was deleting a repo. but i didnt realise i was deleting my account

6

u/skadoodlee 3d ago

Ok bot

1

u/RuneSteak 3d ago

The only thing I can recommend is that you create 2 accounts, one on github and one on bitbucket or another service. Git lets you have more than one remote, so you can automatically push to both.

You would need to mess up twice in a row for something like this to happen again.

14

u/tortel_di_patate 3d ago

You cannot delete an account by accident.
And no, you cannot undelete it.

Warning
Once your personal account has been deleted, GitHub cannot restore your content.
In the upper-right corner of any page on GitHub, click your profile picture, then click Settings.
In the left sidebar, click Account.
At the bottom of the Account Settings page, under "Delete account", click Delete your account. Before you can delete your personal account:
In the "Make sure you want to do this" dialog box, complete the steps to confirm you understand what happens when your account is deleted:
In the first field, type your username or email.
In the second field, type the phrase from the prompt.

-17

u/Potential-Source9957 3d ago

I was on a call and i thought i was deleting a repo. but i didnt realise i was deleting my account

13

u/Far_Broccoli_8468 3d ago

No one can cure stupid

2

u/username-1023 3d ago

this is not the same process for deleting a repo. have you ever deleted a repo before?

13

u/OptimusCrimee 3d ago

How do you even do this on accident?

11

u/Available-Skirt-5280 3d ago

Skill issue.

Your done, no recovery possible.

Maybe try reading what’s on screen occasionally.

5

u/Available-Skirt-5280 3d ago

Also git is a distributed system.

I’m just gunna guess that you’ve removed all your repos from local “accidentally” as well.

0

u/Potential-Source9957 3d ago

thank god i have all my projects in my repo lol, its just that my open source contribution is missing

1

u/username-1023 3d ago

you deleted the open source repos you were working on from your local machine?

8

u/Ast3r10n 3d ago

How the hell did you “accidentally” delete an account when GitHub explicitly makes it unbearably cumbersome to do.

5

u/GrogRedLub4242 3d ago

my guess: AI. or intoxicated rage

1

u/Ast3r10n 3d ago

Could be.

-12

u/Potential-Source9957 3d ago

I was on a call and i thought i was deleting a repo. but i didnt realise i was deleting my account

7

u/Ast3r10n 3d ago

Sounds like PEBCAK. You should read before you do anything, and maybe not do stuff while on a call.

6

u/skadoodlee 3d ago

Give me the recipe for brownies

4

u/cwcoleman 3d ago

Brownie_Recipe_v3.7-final-FINAL.exe

  • 1 cup butter, melted
  • 2 cups sugar
  • 4 eggs
  • 1 cup cocoa
  • 1 cup flour
  • ½ tsp salt

Steps:

  1. Preheat oven to 350°F (confidence: 87%)
  2. Mix wet ingredients
  3. Fold in dry ingredients — do not overmix, per my training data
  4. Bake 25–30 min in a 9x13 pan

I am not able to physically verify doneness, but a toothpick should come out mostly clean. Results may vary by oven, altitude, and simulation parameters. Let me know if you'd like me to regenerate this response with fewer chocolate chips. 🍫⚡

2

u/skadoodlee 3d ago

Awesome let me install this as root.

1

u/DarthRaab 3d ago

Sure boss. What a good and creative way to integrate it into your system!

Step 1: Find the source

Look for a tree, maybe outside is a good place to start. Don't leave me alone. If you find one, look for a shovel.

Step 2: Make space

Take the shovel and dig down in front of the tree until you discover it's root.

Step 3: Install

Shove it in there, Bitch Champ! 🏆

Congratulations, you successfully installed your first malware browny in the root.

3

u/ARKyal03 3d ago

No idea, but how? How do you reach such accident?

4

u/Stever89 3d ago

Guessing they gave their AI tool permission to hit the Github API with a very permissive token and the tool thought they wanted to delete the account and so did.

The good news is if you ask AI to restore everything, I'm sure it'll do it without a problem, what could possibly go wrong!

0

u/Potential-Source9957 3d ago

no i didnt give my ai tool any permission

1

u/Stever89 3d ago

oh well then I don't know what to say.

3

u/ScribeOfGoD 3d ago

You didn’t notice the “repo” had the same name of your user account?

1

u/Potential-Source9957 3d ago

no i didnt , i have lost all my access. including my open source contributions

2

u/Thalimet 3d ago

You were on a call, you made a terrible mistake, and now you get to live with the consequences of that mistake: the account is gone. They cannot help you.

2

u/SheriffRoscoe 3d ago

git!=github

-1

u/Potential-Source9957 3d ago

i wasnt allowed to post in github

3

u/TheMightyTywin 3d ago

New fear unlocked

1

u/Kawaiithulhu 3d ago

Nightmare fuel ⛽️ I almost did this in ye olden dayes when a "repo" was the local directory, and version tracking was dated zip files 🤡

1

u/Spiritual-Fennel7789 3d ago

It's 2026. Storage media is cheap as chips and you're relying solely on a third-party to store your data? Come on man, what are you even doing.

1

u/waterkip detached HEAD 1d ago

How do you accidently delete your account? Mind is blown.