Reputation: 2424
I don't know how it happened, but the fork of a repo dissapeared from my repositories on github.
I have it's code on my computer and I would like to resume working on it as though the fork didn't dissapear. How would I do that?
Thank you in advance.
UPDATE
I don't think it's a duplicate, becase the guys problem in "How can I push to my fork from a clone of the original repo?" is that he cloned and tried to work with original repo, but I worked with my fork, which dissapeared. There's nothing wrong with my actions except for somehow my fork doesn't exist anymore. I would like to recreate the fork and have all the commits and history of the work I've done, which are on my local computer.
Upvotes: 1
Views: 1663
Reputation: 2424
The solve was so simple I feel stupid for not doing it before...
All I had to do is fork the repo again and then use my local files to try and push again - worked.
Dumb me:)
Upvotes: 3