git 版本找回方法

  • 在 git reset --hard 以後,git 的版本會回退。

  • 這個時候,須要使用 git reflog 去查看以前的操做

  • 而後, 找到相對應的 hash 數值。
  • git reset --hard xxxx
相關文章
相關標籤/搜索