Thursday, August 20, 2015

How to restore deleted repository when using Github desktop

Forum streams too long to read. The simple solution:
1. open the github desktop
2. if you deleted your repository, you should add that folder back
3. you may see that Github desktop actually saved your information
4. click on the branch where you saved all your contents of the folder
5. check your folder on Mac. They should be back.

Comments:
Deleting a folder on Github doesn't mean transferring them into the trash can. It also varies with versions. The correct thing to do is, never try to add to the complexity of this issue. Go back to your Github desktop application and see whether you can retrieve the information. I'd say that I'm so lucky to be able to recover all my scripts. And I learned my lesson: Always back up your important files.

No comments:

Post a Comment