1.reset 版本回滚不保留中间版本

git reset –hard 版本号

git push -f 强制提交

 

2.revert 版本回滚保留中间版本号,提交新的版本

 

相关文章:

  • 2021-07-05
  • 2021-05-11
  • 2021-04-22
  • 2022-01-07
  • 2021-06-11
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
相关资源
相似解决方案