9 ms·
There is also `colordiff` which works both as a standalone diff tool, but also as a colorizer filter for other diff tools. For example: diff -u a.txt b.txt |
by ipozgaj 6y ago
There is also `colordiff` which works both as a standalone diff tool, but also as a colorizer filter for other diff tools. For example:
diff -u a.txt b.txt | colordiff
- petepete 6y agoGit ships with `diff-highlight` which is more than enough for me. I use the following config. [core] pager = /usr/share/git-core/contrib/diff-highlight | less [color "diff-highlight"] oldNormal = red oldHighlight = 16 bold red newNormal = green newHighlight = 16 bold green