3

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
  • 18,813
  • 10
  • 112
  • 118

1 Answers1

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