到项目目录下,打开git bash

1、git log 

     找到要撤销的版本id1

      commit之前的版本id2

2、git reset –hard id1
3、git reset id2

 

参考链接:https://blog.csdn.net/u010486679/article/details/82142167

相关文章:

  • 2022-12-23
猜你喜欢
  • 2021-09-15
  • 2021-08-30
  • 2022-02-22
  • 2021-08-07
相关资源
相似解决方案