首先查看该文件的历史版本信息:git log Default@2x.png

记录下需要恢复的commit版本号:如 9aa51d89799716aa68cff3f30c26f8815408e926

恢复该文件:git reset 9aa51d89799716aa68cff3f30c26f8815408e926 Default@2x.png

提交git:git commit -m "revert old file"

首先查看该文件的历史版本信息:git log Default@2x.png

记录下需要恢复的commit版本号:如 9aa51d89799716aa68cff3f30c26f8815408e926

恢复该文件:git reset 9aa51d89799716aa68cff3f30c26f8815408e926 Default@2x.png

提交git:git commit -m "revert old file"

相关文章:

  • 2021-11-20
  • 2022-02-19
  • 2022-01-20
  • 2022-02-10
  • 2022-12-23
  • 2022-12-23
  • 2022-01-13
猜你喜欢
  • 2022-02-25
  • 2021-09-25
  • 2022-02-06
  • 2021-04-04
  • 2022-01-03
  • 2022-12-23
相关资源
相似解决方案