Colorized diff output in the terminal console
If you find diff output hard to read on a terminal, use the colordiff utility.
Install (on Debian (or Ubuntu):
sudo apt-get install colordiff
Now check it with you favorite version control tool:
git diff | colordiff
or
bzr diff | colordiff
Better yet:
alias gitdiff="git diff|colordiff|less -R"
alias bzrdiff="bzr diff|colordiff|less -R"
Written by Daniel Reis
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
khasinski
591.1K
dmichaelavila
500.4K
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#