git查看commit提交记录详情

相关的命令:

  git log 查看所有的commit提交记录;

  git show 查看提交的详情;


首先,需要通过git log打印所有commit记录,例如:

1.查看最新的commit:git show

2.查看指定commit的所有修改:git show commitId

3.查看某次commit中具体某个文件的修改:git show commitId fileName

猜你喜欢

转载自www.cnblogs.com/lwcode6/p/11727419.html