求指点,因为要做 code review ,但提交比较多,跨度也比较长,想打个 diff 出来。 请问 git 有办法把一个作者的 commit 打成 diff 出来么?
如果有的话最好,没有的话,我自己尝试用 git log --author --pretty=format 把某个 author 的所有 commit id 导出一个文件,那 git 有办法把一系列的 commit id 打成同一个 diff 么?
非常感谢。
求指点,因为要做 code review ,但提交比较多,跨度也比较长,想打个 diff 出来。 请问 git 有办法把一个作者的 commit 打成 diff 出来么?
如果有的话最好,没有的话,我自己尝试用 git log --author --pretty=format 把某个 author 的所有 commit id 导出一个文件,那 git 有办法把一系列的 commit id 打成同一个 diff 么?
非常感谢。
1
ik0r Sep 9, 2016 git log --author=AUTHOR --patch
|