idea中git回滚

回滚步骤:

1、选择你要回滚的 提交记录 reset current branch to here 选择hard

 

2、选择最新的提交记录 reset current branch to here 选择mixed

 

3、commit push
完成回滚

 看一下,远端仓库同步成功:

 

posted @ 2022-03-24 00:16  紫英626  阅读(1467)  评论(0编辑  收藏  举报

紫英