git diff commit_id1:file_name  commit_id2:file_name
或者
git diff commit_id1 commit_id2 -- file_name

commit_id也可用HEAD代替

相关文章:

  • 2022-12-23
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2021-06-13
  • 2022-02-20
  • 2021-11-30
  • 2022-12-23
猜你喜欢
  • 2021-06-15
  • 2022-12-23
  • 2021-07-03
  • 2022-12-23
  • 2021-07-17
  • 2022-12-23
相关资源
相似解决方案