title: How can I merge multiple commits onto another branch as a single squashed commit?
body: <p>I have a remote Git server, here is the scenario which I want to perform:</p>
  
  <ul>
  <li><p>For each bug/feature I create a different Git branch</p></li>
  <li><p>I keep on committing my code in that Git branch with un-official Git messages</p></li>
  <li><p>In top repository we have to do one commit for one bug with official Git message</p></li>
  </ul>
  
  <p>So how can I merge my branch to remote branch so that they get just one commit for all my check-ins (I even want to provide commit message for this)?</p>