Friday, November 25, 2011

Quick tip: colorize diff output in terminal

Just a quick and handy tip. To see diff outputs colorized in a terminal, I am using the colordiff package. Colordiff is a wrapper around diff that produces the same output as diff, except that it augments the output using colored syntax highlighting to increase readability.

So if you are using svn as your repository, you can perform svn diff | colordiff to see the colored diff output.

No comments:

Post a Comment