title: Force-delete a branch in Git?
body: <p>I have created a branch <code>test</code> in my Git repository. Now I have no use for it. How can I force-delete this branch?</p>
  
  <p>I tried the following command:</p>
  
  <pre><code>git branch -d test
  </code></pre>
  
  <p>But it returns an error.</p>