其实就是硬reset到之前对的commit记录然后强行再推送到远程库一下

具体操作:

git reset --hard <commit_id>

git push origin HEAD --force

 

相关文章:

  • 2021-10-24
  • 2021-10-24
  • 2021-06-17
  • 2021-07-31
  • 2021-06-25
  • 2022-12-23
猜你喜欢
  • 2021-05-26
  • 2021-07-01
  • 2022-12-23
  • 2022-12-23
  • 2021-12-09
  • 2021-05-23
相关资源
相似解决方案