title: Can I delete all the local branches except the current one?
body: <p>I want to delete all branches that get listed in the output of ...</p>
  
  <pre><code>$ git branch
  </code></pre>
  
  <p>... but keeping current branch, <em>in one step</em>. Is that possible? If so, how?</p>