2

可能重复:
列出特定文件的所有提交

我有一个非常深的 git 存储库,在其中使用我的眼睛来定位特定文件的所有提交不是很实用。

我试图看看我是否可以 grep 的输出,git log --all但那里没有任何文件名的痕迹......

如何找到特定文件实际更改的所有提交?

4

1 回答 1

2

You can pass a path to git log:

git log -- path/to/file
于 2012-09-02T22:29:11.817 回答