longtengfly

回退到分支某个版本  git reset --hard  c88173be7b521fcbe88c5be4fc1d3889e52226ae(要回退的分支版本号)

查看分支当前版本  git rev-parse HEAD 

提交回退的版本 git push -f  (注:强制提交后,当前版本后面的提交版本将会删掉!)

分类:

技术点:

相关文章:

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