commands.sh

diff-so-fancy

all

Colorize `diff` output in a more human readable way.

More info →

Options (1)

-u, --unifiedboolean

Colorize `diff`

Example: diff {{[-u|--unified]}} {{path/to/file1}} {{path/to/file2}} | diff-so-fancy

Examples (2)

Colorize `diff`

diff [-u|--unified] path/to/file1 path/to/file2 | diff-so-fancy

Set `diff-so-fancy` to colorize the output during Git's interactive staging

git config --global interactive.diffFilter "diff-so-fancy --patch"
made by @shridhargupta | data from tldr-pages