idea中git回滾到指定分支

1、git - > show history,選中回滾的指定版本,右擊copy revision number 粘出版本號 2、git -> reset hard 出險新頁面之後,選中hard ,to commit選項中黏貼上面複製的版本號,點擊reset回滾 3、git -> push分支到環境,此時會出現衝突。點擊cancel,打開Terminal,切換到項目所在目錄 ,執行:git push
相關文章
相關標籤/搜索