2

I was stepped down from my git repo into 3 step below by using,

git reset HEAD~3

but after that i didnt find my previous changes. so how do i undo this reset HEAD~3

Mohideen bin Mohammed
  • 16,635
  • 8
  • 97
  • 110

1 Answers1

3
git reset HEAD@{1}  # where you want to HEAD 
Badri Gs
  • 318
  • 2
  • 11