Git diff between latest and previous tag
<p>I want to do a diff just like <a href="https://stackoverflow.com/questions/3211809/git-diff-between-given-two-tags">this one</a>.</p>

<p>The only difference is that i don't want to inform the tag names 'manually' i want them to be retrieved by git commands.</p>

<p>I know that <code>git describe --tags</code> returns my latest tag. But what about the previous one? How to get it?</p>

<p>Basically what i want is:</p>

<pre><code>$ git diff $(git_command_to_get_previous_tag) $(git describe --tags)
</code></pre>

<p>And what i don't want:</p>

<pre><code>$ git diff 1.0 2.0
</code></pre>