如何获取包括每个提交差异的日志列表?
例如:
commit1
Author
Date
Commit message
changes between commit1 and commit2
commit2
Author
Date
Commit message
changes between commit2 and commit3
...
使用git log /some/file
将列出修改了 some/file 的提交记录。
commit1
Author
Date
Commit message
commit2
Author
Date
Commit message
...
然而,每个提交中的更改都没有显示出来。
使用git diff hash1..hash2 /some/file
可以在两个提交之间给出/some/file中的更改。
但仅在这两个提交之间,而不是所有更改/some/file的提交中。