title: How do I show tags in a custom git log format?
body: <h2>Situation</h2>
  
  <p>I am using git log with a custom <code>--pretty:format</code>:</p>
  
  <pre class="lang-sh prettyprint-override"><code> git --no-pager log --pretty=format:"%C(yellow)%h%Creset %s %Cgreen(%cr) %Cblue&lt;%an&gt;%Creset" -5
  </code></pre>
  
  <p>which produces an output like this</p>
  
  <pre class="lang-sh prettyprint-override"><code>7224466 update version (4 days ago) &lt;Xerus&gt;
  3f00703 improve stuff (9 days ago) &lt;Xerus&gt;
  </code></pre>
  
  <h2>Problem</h2>
  
  <p>I want to also see the tags of a commit if it has any associated with it, like the option <code>--decorate</code>, but I couldn't find any mention of the tags in the formatting documentation.</p>