title: Git squash changes are being rejected by the remote repository
body: <p>I am trying to squash 3 commits.</p>
  
  <ul>
  <li>I clone the repository</li>
  <li>I checkout the branch with the commits I want to squash</li>
  <li>I run 'git rebase -i HEAD~3'</li>
  <li>I 'pick' the top commit and I 'squash the second and third one. This is all fine. On my local branch the commits have now been squashed</li>
  </ul>
  
  <p>When I now try to 'push' this is being rejected stating 'Updates were rejected because the tip of your current branch is behind'. Now I have not made any changes to any of the files. Does anyone know how I can push this 'squash' to the remote repository?</p>