How do I view a single file's history in GitK?

How do I view a single file's history in GitK?

回答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].

 

posted @ 2022-01-19 12:42  ChuckLu  阅读(35)  评论(0)    收藏  举报