1. git log 找到要回退的commit版本号并复制
  2. git reset --hard [commitid] 本地库版本回退
  3. git push -f origin [branchName] 同步到远端仓库

 

https://blog.csdn.net/u011943534/article/details/83447552

 

相关文章:

  • 2021-05-25
  • 2022-02-09
  • 2022-12-23
  • 2021-09-18
  • 2022-12-23
  • 2021-08-04
  • 2021-11-20
  • 2021-04-02
猜你喜欢
  • 2021-10-30
  • 2022-12-23
  • 2021-11-27
  • 2022-01-30
  • 2021-08-24
  • 2021-09-16
相关资源
相似解决方案