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

 

發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章