我有一个git存储库,其中有一个文件夹。在此文件夹中,多人进行更改。我最近在该目录中做了几次提交。
I want to
1) view all changes that I have done in last 10 commits in that directory
(ie changes done by me only)
和
2) view all changes that anyone has done in that directory in last 10 commits .
尝试:
git log -p -10 yourdir/
添加--author=yourLogin
以限制您的更改
这与仅仅列出更改的文件不同