1、项目右键,git -- repository -- reset HEAD 

idea中git撤回commit内容

 

 在to commit中填入对应的想要撤销到的版本号点击validate验证观察然后reset即可

2、直接在version control 中的log找到要恢复到哪个版本,右键选择reset即可

idea中git撤回commit内容

 

相关文章:

  • 2021-08-09
  • 2022-01-22
  • 2021-08-30
  • 2022-02-22
  • 2021-08-07
猜你喜欢
  • 2021-11-22
  • 2022-12-23
  • 2022-12-23
  • 2022-12-23
  • 2021-09-15
  • 2021-09-10
相关资源
相似解决方案