2016-07-28 76 views
1

怎么能够得到日志,其中列出与每个不同组合的承诺
即:Git的日志,DIFF某个文件

commit1 
Author 
Date 
Commit message 
changes between commit1 and commit2 

commit2 
Author 
Date 
Commit message 
changes between commit2 and commit3 
... 

使用
git log /some/file
给人的提交的清单改变了一些/文件

ie:

commit1 
Author 
Date 
Commit message 

commit2 
Author 
Date 
Commit message 
... 

然而,在每个提交的变化没有得到显示

使用
git diff hash1..hash2 /some/file
给出了这两个提交之间/一些/文件中的变化。
但只有2个提交,而不是通过一切都变了/在提交一些/文件

回答