回答1

To get the file history

gitk <filename>

To see the blame history in a gui, which may help you track the commit use

git gui blame <filename> 

 

回答2

You can filter on gitk by following steps.

  1. Select [View]>[Edit view].
  2. Fill file name to [Enter files and directories to include, one per line].
  3. Select [OK] or [Apply].

 

相关文章: