butterflybay

 

1. git log filename

查看提交记录

 

2. git log -p filename

可以显示每次提交的diff

 

3. 查看某次提交中的某个文件变化,可以直接加上fileName

git show c5e69804bbd9725b5dece57f8cbece4a96b9f80b filename

 

ref:

https://blog.csdn.net/sea_snow/article/details/91430247:

分类:

技术点:

相关文章:

  • 2021-11-28
  • 2022-02-01
  • 2022-12-23
猜你喜欢
  • 2021-11-07
  • 2021-12-03
  • 2021-11-14
  • 2021-12-02
相关资源
相似解决方案