title: How to squash commits when there are commits that do not belong with the current PR
body: <p>If I do <code>git rebase -i HEAD~5</code>, I get</p>
  
  <pre><code>pick &lt;hash1&gt; CURR_PR
  pick &lt;hash2&gt; PREV_PR_I_WORKED_ON
  pick &lt;hash3&gt; WIP: another commit I want to squash in to CURR_PR
  pick &lt;hash4&gt; WIP: yet another commit I want to squash in to CURR_PR
  pick &lt;hash5&gt; WIP: and finally one more commit I want to squash in to CURR_PR
  </code></pre>
  
  <p>Typically I just replace all the <code>pick</code>s below <code>CURR_PR</code> with <code>s</code> and then change then clean up the commit message. However, for some reason, I have the commit with <code>&lt;hash2&gt;</code> in the way, and I do not want to squash in to that commit.</p>
  
  <p>How can I squash commits with <code>hash3, hash4, hash5</code> in to commit with <code>hash1</code>?</p>