git diff: what is the difference between --cached and --staged
<p>To compare the staged with the last commit:</p>

<pre><code>git diff --cached
git diff --staged
</code></pre>

<p>Both commands generate the same results, right?</p>