Recovering deleted files from git after deletion is committed

Hi Alex, May I ask for some recommendation on recovering deleted files from git after deletion is committed? Specifically, I'm trying to recover edit, show, index files and associated json.jbuilders for 'order' (etsydemo course). I've deleted the files and made commitment about 3 days ago. Really hope that there will be some relatively easy way to recover these! Harry

Posted about 5 years ago by Harry Lee
Posted about 5 years ago by Alex Yang

You can check out this StackOverflow link to see how to revert entirely to a previous Git commit: http://stackoverflow.com/questions/4372435/how-can-i-rollback-a-github-repository-to-a-specific-commit.

0
Posted about 5 years ago by Harry Lee

i've solved this by downloading the zipfile for the github repo before i've made the commitments and copying and pasting the show, index, edit files to my localhost files!

0