Every piece of documentation I've read on git (including the online book and the built-in help) says I can type "git diff" from command line, but whenever I do that I get:
usage: git diff [--no-index] <path> <path>
Here's what I've tried so far (all are examples from the documentation):
$ git diff
usage: git diff [--no-index] <path> <path>
$ git diff HEAD
usage: git diff [--no-index] <path> <path>
$ git diff --
usage: git diff [--no-index] <path> <path>
$ git diff -- .
usage: git diff [--no-index] <path> <path>
$ git diff --stat
usage: git diff [--no-index] <path> <path>
$ git --version
git version 1.7.1
Am I missing something here?