Step 1: Check the version history
git reflog
Step two: find the need to restore the version
````
git reset --hard version number
```
On the blog address: http://lwenl.cn/source/20.html
Writing is not easy, do not spray, hoping to help to you