git回退版本 

查看自己提交的历史版本

git reflog

gti回退到指定版本

 

回退到指定版本 

git reset --hard -----

例 : git reset --hard f246b0d

 gti回退到指定版本

 

 

现在代码就已经回退到了你想回到的版本 

所以说commit注释一定要写清楚

相关文章:

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