Help
cancel
Showing results for 
Search instead for 
Did you mean: 
Ground Controller Lvl 1
Message 1 of 9

How can I recover a deleted repository?

My boss wanted me to move the project from git to vs which normally wouldn't be a problem since I've done this successfully a few times with the following process:

 

  • Delete github repository (its public and code is actually proprietary)
  • Copy local files to an unassociated location (usually a folder in C:\temp)
  • Map a new repo in Visual Studio Team Explorer
  • Copy files from temp location to Visual Studio mapped repo

 

I don't know what happened today, if I wasn't focusing on what I was doing or something but instead of copying the local files to the appropriate unassociated location on my drive after deleting the github repo, I appear to have permanently deleted everything.

 

I started working on the data model for the project in October 2017. Boss is NOT happy and neither am I.

 

I've sent an email to support@github.com asking if they can recover my repo... If they can, I can just clone it back onto my local drive.

 

Is there more that I can do or some way I can recover this on my own?

8 Replies
Commander Lvl 3
Message 2 of 9

Re: How can I recover a deleted repository?

No, just wait for GH Support.


- Mark
Ground Controller Lvl 1
Message 3 of 9

Re: How can I recover a deleted repository?

What happened in the end?

I just want to know what'll become of me.

Copilot Lvl 2
Message 4 of 9

Re: How can I recover a deleted repository?

Okay, I successfully recovered a repository of mine, so it is possible to do so.

Ground Controller Lvl 2
Message 5 of 9

Re: How can I recover a deleted repository?

Please tell me how did you recover the deleted repository?

Commander Lvl 3
Message 6 of 9

Re: How can I recover a deleted repository?

@nj888 by contacting GitHub Support and kindly asking for assisting with the recovery of a deleted repository.


- Mark
Ground Controller Lvl 1
Message 7 of 9

Re: How can I recover a deleted repository?

They sure respond fast!

Ground Controller Lvl 2
Message 8 of 9

Re: How can I recover a deleted repository?

Hi all, we have this problem right now. 

does anybody know how much time takes GH Support to respond and fix this kind of problem ?

Thx

Mission Specialist Lvl 1
Message 9 of 9

Re: How can I recover a deleted repository?

May not be as helpful but are there any forks of the repo? If a fork exists you might be able to make use of that, however it could be a problem if its not up to date.