0

I deleted the whole migrate folder in Rails. I meant to just delete one file. I have everything pushed onto GitHub, but I don't know how to retrieve the files.

I'm not sure how to get the files back. The revision history option is greyed out so I can't do that.

random
  • 9,774
  • 10
  • 66
  • 83
JoJo Wang
  • 31
  • 1
  • 1
  • 4
  • I assume your migration folder was part of you repository then? And you have `git` setup to interact with github? If so, do a new `git clone ...` of the repository on your system and it will retrieve everything. I would also highly recommend that if you care about the data you have on your hard drive, you should be performing regular backups to another storage medium. – lurker Jul 01 '15 at 18:22
  • http://stackoverflow.com/questions/9477702/undo-delete-in-git – user1801879 Jul 01 '15 at 18:37

0 Answers0