LoginSignup
2
2

More than 5 years have passed since last update.

tigでgit log -p (filename)

Last updated at Posted at 2016-06-01

gitのtigで、tree-viewからファイルを選択して、
そのファイルだけのdiffを見るには

.tigrcで設定

bind generic L !git log -p %(file)

genericはグローバルにキーバインディングする
L 実際に割り当てるキー

使い方としては
tigで起動し、
t でtree-viewに移動
ファイルを選択して、
L
これでgit log -p (指定したファイル名)
の結果が見れる。

もうぼちぼちgitlabがいらなくなるかも

2
2
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
2