title: Git Squash and remove previous commits
body: <p>Maybe I misunderstood how GIT works. </p>
  
  <p>I've run <code>git rebase -i HEAD~10</code> and I could squash 10 commits into one. The issue is that all squashed commits are still there, and I thought they were going to be dropped after <em>merging them all into one</em>.</p>
  
  <p>Is this the expected result? If so, can I rewrite the history to remove useless commits (since these changes are already in the commit which all previous commits were squashed)?</p>