title: GitHub - Merge Pull Request (with Squash Commits) - branch still says 7 commits ahead of master?
body: <p>On my own repository, I have set <code>master</code> branch as <code>protected</code> in <code>Settings&gt;Branches</code> so that my own <code>Pull Requests</code> won't be auto accepted. This allows me to then choose the option to <code>Squash Commits</code> when accepting my own <code>Pull Request</code>. </p>
  
  <p>The problem is that after this merge, if I go go <code>Branches</code> on GitHub, the merged branch still shows <strong>7 commits ahead of master</strong>. How can I get update this?</p>
  
  <p><strong>Update</strong></p>
  
  <p>I don't think there is a way around this. I am going to use <code>Squash &amp; Merge</code>, delete the <code>branch</code>, and create a <code>tag</code> on <code>master</code> with the name of the merged branch</p>