title: Delete all tags from a Git repository
body: <p>I want to delete all the tags from a Git repository. How can I do that?</p>
  
  <p>Using <code>git tag -d tagname</code> delete the tag <code>tagname</code> locally, and using <code>git push --tags</code> I update the tags on the git provider.</p>
  
  <p>I tried:</p>
  
  <pre><code>git tag -d *
  </code></pre>
  
  <p>But I see that <code>*</code> means the files from the current directory.</p>
  
  <pre><code>$ git tag -d *
  error: tag 'file1' not found.
  error: tag 'file2' not found.
  ...
  </code></pre>
  
  <p>Consider I have a lot of tags, and I want to delete them, all.</p>