How to compare two files not in repo using git

Viewed 35958

I'd like to compare two css files which are not in any git repository. Is there such a functionality in git?

3 Answers

diff -u

will give similar unified context output to git's diff.

Related