title: How delete a local branch after merging it through a pull request? git-flow, bitbucket, sourcetree
body: <p>My environment in local:</p>
  
  <ul>
  <li><strong>Git</strong> connecting with <strong>Bitbucket</strong></li>
  <li><strong>Sourcetree</strong> with <code>git-flow</code></li>
  </ul>
  
  <p>Steps</p>
  
  <ol>
  <li>I create a <code>feature x</code> in <strong>Sourcetree</strong> then I add the code.</li>
  <li>I do a <code>commit</code> including the option to <code>create a pull request</code> and <code>push</code> the changes to <code>feature x</code> branch in <code>remote</code>.</li>
  <li>In <code>pull request</code> I select the option for <code>Close {branch} after the pull request is merged</code>.</li>
  <li>Within <strong>Bitbucket</strong> a member team approves the <code>pull request</code> then merges it into the <code>develop</code> branch.</li>
  <li>I <code>pull</code> the new changes to my local <code>develop</code> branch.</li>
  </ol>
  
  <p><strong>NOTE</strong> It's important to review the code through <code>pull request</code> before merging it into <code>develop</code>, so the question is:</p>
  
  <p>Is there any way to delete automatically the <code>feature x</code> branch in my local after made a <code>pull</code> in <code>develop</code>?</p>
  
  <p>*I tried with a <code>fetch</code> but it does not work.</p>