Recover from git reset --hard?

后端 未结 22 2521
盖世英雄少女心
盖世英雄少女心 2020-11-22 00:52

Is there any way to recover uncommitted changes to the working directory from a git reset --hard HEAD?

22条回答
  •  情深已故
    2020-11-22 01:36

    If you luckily had the same files opened on another editor (eg. Sublime Text) try a ctrl-z on those. It just saved me..

提交回复
热议问题