1、查看Git提交記錄
# git log
2、找到需要回滾到的提交點,複製它的hash值
# git reset --hard 你複製的hash值
3、將當前指向的head推到git
# git push --force
# git log
# git reset --hard 你複製的hash值
# git push --force
繼續運行 🥋 回憶上次內容 上上次 真寫了 萬行 代碼 這 萬行 代碼 都是寫在 明面 上的 這次 使用git命令 下載了 github上面的倉庫