1

I accidently deleted a file which had many changes along with other modifications in others files.

Till this part I didn't commit any files.

On top of that I did a checkout to my previous commit.

Now all my changes are lost.

Is there a way I can recovered the changed for these un-committed files.

ashutosh raina
  • 9,228
  • 12
  • 44
  • 80
zevy_boy
  • 902
  • 1
  • 7
  • 11

1 Answers1

2

Untracked files (when not stashed away with git stash -u) cannot be recovered by Git, because it did never know anything about them.

Koraktor
  • 41,357
  • 10
  • 69
  • 99