轉自 https://blog.csdn.net/qq_30669833/article/details/105422803

--

步驟一:首先git clone當前項目至文件夾
步驟二:cd進入clone下來的項目文件夾內
步驟三:在git倉庫查看SHA,或輸入命令git log查看提交的歷史commit

步驟四:複製需要回退版本到的commit後面序列,命令如下即可回退到指定版本

git checkout xxxxxxxxxxxxxxx
--

arrow
arrow
    全站熱搜

    dizzy03 發表在 痞客邦 留言(0) 人氣()