r/github • • Oct 14 '24

Accidentally deleted Github account

I feel so lost,all my work for the last 4 years is lost,everything,i feel so dumb.I wanted to end a subscription but couldn't find a clear place and i thought i was on second account,so i decided to delete the account,but i was on my primary account and accidentally deleted all of my repos everythinng!!

0 Upvotes

39 comments sorted by

View all comments

71

u/_greg_m_ Oct 14 '24

Sorry, can't help, but how can you delete the account ACCIDENTALLY? In the settings it's even highlighted in red and it says "Once you delete your account, there is no going back. Please be certain.". Just wandering...

31

u/Masterflitzer Oct 14 '24

also don't you have to copy & paste account name? so you cannot confuse it with second account

6

u/_theboogiemonster_ Oct 14 '24

Considering all these hoops you have to jump through to delete your account and he still did it, I wouldnt worry too much about the code that was actually lost. 

4

u/Masterflitzer Oct 14 '24

in any case i always recommend having at least the important repos cloned locally, if it's that many a quick script that goes through the inactive ones and run a git pull on main is a possibility, and it's so easy to do everyone who writers code can do it, my point is if you really care about the code it's so simple to not loose it