Git recover uncommitted changes

后端 未结 6 761
萌比男神i
萌比男神i 2020-12-06 11:52

I had a lot of local changes.

I just accidentally did

git merge another_branch
git reset --hard HEAD^

on a lot of work. :( with the

6条回答
  •  一生所求
    2020-12-06 12:17

    Try undoing on the file directly from the IDE. You'll get what you need.

    Probably not helpful for @Lakshman Prasad, but will help someone else :-D

提交回复
热议问题