git log -p .
只在当前目录下,不在子目录下
等价
svn log --diff --depth files .
这可能吗?
最佳答案
怎么样:
$ git log -p file1 file2 ...
或者,如果它们太多而无法输入:
$ find . -maxdepth 1 -type f | xargs git log -p
关于git - 非递归 git log 和 diff,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32540819/