u8531q
Last Updated: February 25, 2016
·
916
· gokceneraslan
C10136b069ccc8b5506f9f0f70f52eb5

Using tig pager mode with ordinary patch/diff

tig is a very clever git repository browser. In addition to its normal usage (which is the sole "tig" command), you may use it as a pager and pass the git command output to it:

git show | tig

You may also use tig with ordinary unified diff output, for example:

diff -u a.txt b.txt | tig

or you may even browse your patches using tig:

tig < some_patch_file.patch
Say Thanks
Respond