0

I had two branches and I was working on the second branch. I unfortunately discarded all the files without committing or adding it to branch. There were many files that I discarded and now I am unable to undo it. Is there any way i could get all those files back.

i tried below commands to recover these files:

  `git reset --hard refs/original/refs/heads/master 
   git reset --hard` 

I am also searching some commands that would bring back my files. Can you guys suggest me some solution for this. Please help:(

Onera
  • 605
  • 2
  • 12
  • 29

0 Answers0