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

19

u/copremesis Oct 14 '24

You know that git is decentralized. So if you have clones on any of your devices you can create a new account and push them there. They may be a few branches back but usually your typical work in progress is "bleeding edge" ... so just think of where you cloned your projects ... and modify the `.git/config` to point to a new remote ... and you should be able to reintegrate the projects that you are able to find.

14

u/[deleted] Oct 14 '24

I'm willing to bet that they don't know that. Sadly so so so many people think `git` is `Github`.

You might think that developers could recognize what each individual piece of software is but they really cant.