You can show changes that have been staged with the --cached flag:
$ git diff --cached
In more recent versions of git, you can also use the --staged flag (--staged is a synonym for --cached):
$ git diff --staged
You can show changes that have been staged with the --cached flag:
$ git diff --cached
In more recent versions of git, you can also use the --staged flag (--staged is a synonym for --cached):
$ git diff --staged