title: Squash for already pushed commits
body: <p>I am trying to squash 9 commits of my  branch, and for this, I ran this command:</p>
  
  <blockquote>
    <p>git rebase -i HEAD~9</p>
  </blockquote>
  
  <p>After then, it showed editor on terminal. Then, I edited the first one as <strong>pick</strong> , and rest one as squash. Then, to save it, I ran</p>
  
  <blockquote>
    <p>Ctrl+X+S</p>
  </blockquote>
  
  <ul>
  <li>Then, it saved but didn't showed any message. </li>
  <li>I ran</li>
  </ul>
  
  <blockquote>
    <p>git rebase --continue</p>
  </blockquote>
  
  <ul>
  <li>Then, a number of conflicts came based on each commit. And resolved them manually and keep on doing :</li>
  </ul>
  
  <blockquote>
    <p>git add .</p>
  </blockquote>
  
  <ul>
  <li>After resolving all, it asked to edit commit message. Then , I edited the message and saved it using : Ctrl+X+S</li>
  <li>And then, I ran </li>
  </ul>
  
  <blockquote>
    <p>git log --oneline</p>
  </blockquote>
  
  <p>But all of that rebased commit and normal commits are getting shown. </p>
  
  <p>So, am I doing something wrong ? I don't know where I am doing wrong. I need to squash. Please suggest.</p>