I need to diff two files (not two versions of the same file, they are however tracked by git, but that is unrelated) and I would like some colored output, how can I achieve that?
$ diff file_1 file_2 1,9d0 < <script ... > < // more code < </script> $
Above code shows me the difference between those files, however without any colors. For longer diffs that is hard to read.
Alternatively, is there a way for git (with which I do have nice color output) to diff two different files (not changes to a file)?