#杂七杂八常识 首先通过这个指令,拉取远端分支 ``` shell git fetch ``` ![[Pasted image 20230213133954.png]] 然后找到远端分支最新提交的id号 ![[Pasted image 20230213134031.png]] 还是通过reset指令,硬还原成介个id号的提交 ``` shell git reset --hard bf5b1e6e ``` ![[Pasted image 20230213134152.png]] 就可以了