Git显示一个文件夹中我或任何人最近10次提交所做的更改



我有一个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以限制您的更改

这与仅仅列出更改的文件不同

相关内容

最新更新