0

After that When i run this 'git reset HEAD@{1}' It shows 'Unstaged changes after reset:' followed by all my files including lost files. What should be my next command to recover the lost files?

Asiv
  • 23
  • 7
  • That was not matched with my issue. – Asiv Jun 24 '17 at 16:15
  • You can recover your commited but not pushed changes using reflog. If the changes weren't commited, it is not possible to recover them using git. You can get more info about reflog in the linked questions or in https://git-scm.com/docs/git-reflog – Fede Jun 25 '17 at 01:35
  • Thanks for the response @Fede. I got recovered my files by using the following commands, 'git reset HEAD@{1}' and 'git add .' – Asiv Jun 25 '17 at 03:40

0 Answers0