How to diff two commits or files on a remote repository with git?

Viewed 2897

I have two hashes and an URL of a git remote repository. How to perform a diff?

With SVN I do it this way:

svn diff -rXXX:YYY svn+ssh://host/path
1 Answers
Related