github平臺如何回退代碼到歷史指定版本

https://github.comhtml 前提是 本地已經有了 git的origin master庫 git 或者克隆須要回退的代碼到本地github   1.  查詢歷史對應不一樣版本的ID ,用於回退使用ruby $ git log --pretty=oneline       使用git log命令查看全部的歷史版本,獲取你git的某個歷史版本的id服務器        假設查到歷史版本
相關文章
相關標籤/搜索