当我这样做时
git log --follow --name-only -- laravel/resources/views/tickets/stage-options.blade.php
它显示:
commit c946893acef5b626e01256aa98da7e7ae874d96b Author: coder Date: Tue Apr 10 13:00:09 2018 +0100 add bulk sub tasks breaks if url has parameters laravel/resources/views/tickets/stage-options.blade.php commit 8e00c11ef749858a874a7ae4438032e03db5563b Author: coder Date: Fri Apr 6 13:02:47 2018 +0100 get rid of useless buttons in stage/task side popups laravel/resources/views/tickets/stage-options.blade.php
但如果我这样做:
git log --name-only -- laravel/resources/views/tickets/stage-options.blade.php
它显示:
commit 8e00c11ef749858a874a7ae4438032e03db5563b Author: coder Date: Fri Apr 6 13:02:47 2018 +0100 get rid of useless buttons in stage/task side popups laravel/resources/views/tickets/stage-options.blade.php
没有--follow
的最早提交是4月6日,而--follow
将在4月4日进行额外提交。但正如您所看到的,两者的文件名相同。为什么会这样?