pa5whg
Last Updated: November 17, 2017
·
10.15K
· elus
171bfc5a3fbe3f81ea8544da80c5e98a

Git side-by-side diff in terminal

Using regular diff:

$ git difftool -y -x "diff -y -W $COLUMNS" | less

sdiff:

$ git difftool -y -x "sdiff -w $COLUMNS" | less

or colordiff

$ git difftool -y -x "colordiff -y -W $COLUMNS" | less -R
Say Thanks
Respond
Filed Under